#FEF3CB#FEF3CB

#FEF3CB is a very light, muted yellow. Relative luminance 0.895; OKLCH L 96.3% C 0.053 H 94.4°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FEF3CB
RGBrgb(254, 243, 203)
HSLhsl(47, 96%, 90%)
HSVhsv(47, 20%, 100%)
CMYKcmyk(0%, 4.3%, 20.1%, 0.4%)
CIE-LABlab(95.78, -2.56, 20.65)
CIE-LCHlch(95.78, 20.81, 97.08°)
OKLaboklab(96.28% -0.0041 0.053)
OKLCHoklch(96.28% 0.053 94.4)
XYZxyz(83.7029, 89.4853, 69.3513)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3CB #CBD6FE
analogous
#FEDACB #FEF3CB #F0FECB
triadic
#FEF3CB #CBFEF3 #F3CBFE
tetradic
#FEF3CB #CBFEDA #CBD6FE #FECBF0
square
#FEF3CB #CBFEDA #CBD6FE #FECBF0
split-complementary
#FEF3CB #CBF0FE #DACBFE
monochromatic
#FCD753 #FDE58F #FEF3CB #FEF8E1 #FEF8E1

Accessibility & contrast

On white

1.11
#FEF3CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FEF3CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3CB
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3CB#FFFFFF#000000##000000
##FEF3CB1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF1C9
Deuteranopia (green-blind)
#FFF4CC
Tritanopia (blue-blind)
#FFEDE8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef3cb;
/* rgb */ color: rgb(254, 243, 203);
/* oklch */ color: oklch(96.3% 0.053 94.4);
Tailwind
colors: {
  custom: {
    50: '#fff7db',
    500: '#fef3cb',
    950: '#000000',
  },
}
SCSS
$custom: #fef3cb;
$custom-light: #fff7db;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3cb",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 203
  },
  "hsl": {
    "h": 47.059,
    "s": 96.226,
    "l": 89.608
  },
  "oklch": {
    "l": 0.96277,
    "c": 0.05314,
    "h": 94.4
  },
  "luminance": 0.89484
}

Semantic roles & 50–950 ramp

primary
#FEF3CB
secondary
#869BE7
accent
#31E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584

Preview Lab

Preview with #FEF3CB

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

Preview Lab → · Contrast checker → · Palette generator →

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