#FEF0CB#FEF0CB

#FEF0CB is a very light, muted orange. Relative luminance 0.877; OKLCH L 95.7% C 0.050 H 89.8°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FEF0CB
RGBrgb(254, 240, 203)
HSLhsl(44, 96%, 90%)
HSVhsv(44, 20%, 100%)
CMYKcmyk(0%, 5.5%, 20.1%, 0.4%)
CIE-LABlab(95.04, -1.05, 19.61)
CIE-LCHlch(95.04, 19.64, 93.07°)
OKLaboklab(95.69% 0.0002 0.0504)
OKLCHoklch(95.69% 0.05 89.8)
XYZxyz(82.8124, 87.7044, 69.0545)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF0CB #CBD9FE
analogous
#FED7CB #FEF0CB #F3FECB
triadic
#FEF0CB #CBFEF0 #F0CBFE
tetradic
#FEF0CB #CBFED7 #CBD9FE #FECBF3
square
#FEF0CB #CBFED7 #CBD9FE #FECBF3
split-complementary
#FEF0CB #CBF3FE #D7CBFE
monochromatic
#FCCD53 #FDDF8F #FEF0CB #FEF6E1 #FEF6E1

Accessibility & contrast

On white

1.13
#FEF0CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#FEF0CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF0CB
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF0CB#FFFFFF#000000##000000
##FEF0CB1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EEC9
Deuteranopia (green-blind)
#FDF2CC
Tritanopia (blue-blind)
#FFEAE6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef0cb;
/* rgb */ color: rgb(254, 240, 203);
/* oklch */ color: oklch(95.7% 0.050 89.8);
Tailwind
colors: {
  custom: {
    50: '#fff4db',
    500: '#fef0cb',
    950: '#000000',
  },
}
SCSS
$custom: #fef0cb;
$custom-light: #fff4db;
$custom-dark: #000000;
JSON
{
  "hex": "#fef0cb",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 203
  },
  "hsl": {
    "h": 43.529,
    "s": 96.226,
    "l": 89.608
  },
  "oklch": {
    "l": 0.95689,
    "c": 0.0504,
    "h": 89.8
  },
  "luminance": 0.87703
}

Semantic roles & 50–950 ramp

primary
#FEF0CB
secondary
#86A1E7
accent
#3FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584

Preview Lab

Preview with #FEF0CB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FEF0CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva