Skip to content

Linen

Hex #FAF0E6, rgb(250 240 230). A white CSS named color.

Open in palette generator

Linen color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Linen

Linen is a very light near-white with the hex code #FAF0E6. In RGB it is made of 250 red, 240 green and 230 blue; in HSL its hue is 30°, with 67% saturation and 94% lightness. Its perceptual lightness (OKLCH L) is 96.0%.

It is a CSS named color, so you can write "linen" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.12:1 and against black 18.67:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Linen mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Linen 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Linen

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Monochromatic

Contrast and readability

WCAG 2 contrast of Linen with white and black. The readable text color on Linen is black.

Linen textSmall text on white

On white1.12:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 0

Linen textSmall text on black

On black18.67:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -99

Black text on Linen (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Linen appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#F4F0E5
  • Deuteranopia#F6F2E6
  • Tritanopia#FEEEED
  • Protanomaly#F5F0E6
  • Deuteranomaly#F7F2E6
  • Tritanomaly#FCEFE9
  • Achromatopsia#F1F1F1

Colors similar to Linen

The closest named colors by perceptual difference (OKLab).

Use Linen in CSS and Tailwind

CSS
.linen {
  color: linen; /* #FAF0E6 */
  background-color: rgb(250 240 230);
  border-color: oklch(96% 0.017 67.6);
}
Tailwind CSS
/* Tailwind CSS v4: bg-linen-500, text-linen-700... */
@theme {
  --color-linen-50: #FAF0E6;
  --color-linen-100: #F8E1CA;
  --color-linen-200: #F5CBA0;
  --color-linen-300: #F2A851;
  --color-linen-400: #D28200;
  --color-linen-500: #B56F00;
  --color-linen-600: #9B5F00;
  --color-linen-700: #7E4C00;
  --color-linen-800: #663C00;
  --color-linen-900: #533100;
  --color-linen-950: #231100;
}

<!-- or the exact color, no config -->
<div class="bg-[#FAF0E6] text-[#000000]">…</div>