#FEF4CB#FEF4CB

#FEF4CB is a very light, muted yellow. Relative luminance 0.901; OKLCH L 96.5% C 0.054 H 95.9°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FEF4CB
RGBrgb(254, 244, 203)
HSLhsl(48, 96%, 90%)
HSVhsv(48, 20%, 100%)
CMYKcmyk(0%, 3.9%, 20.1%, 0.4%)
CIE-LABlab(96.03, -3.07, 21.00)
CIE-LCHlch(96.03, 21.22, 98.31°)
OKLaboklab(96.47% -0.0055 0.0538)
OKLCHoklch(96.47% 0.054 95.9)
XYZxyz(84.0029, 90.0854, 69.4514)
Luminance0.9008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4CB #CBD5FE
analogous
#FEDBCB #FEF4CB #EFFECB
triadic
#FEF4CB #CBFEF4 #F4CBFE
tetradic
#FEF4CB #CBFEDB #CBD5FE #FECBEF
square
#FEF4CB #CBFEDB #CBD5FE #FECBEF
split-complementary
#FEF4CB #CBEFFE #DBCBFE
monochromatic
#FCDB53 #FDE78F #FEF4CB #FEF9E1 #FEF9E1

Accessibility & contrast

On white

1.10
#FEF4CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#FEF4CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4CB
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4CB#FFFFFF#000000##000000
##FEF4CB1.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF2C9
Deuteranopia (green-blind)
#FFF5CC
Tritanopia (blue-blind)
#FFEEE9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef4cb;
/* rgb */ color: rgb(254, 244, 203);
/* oklch */ color: oklch(96.5% 0.054 95.9);
Tailwind
colors: {
  custom: {
    50: '#fff7db',
    500: '#fef4cb',
    950: '#000000',
  },
}
SCSS
$custom: #fef4cb;
$custom-light: #fff7db;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4cb",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 203
  },
  "hsl": {
    "h": 48.235,
    "s": 96.226,
    "l": 89.608
  },
  "oklch": {
    "l": 0.96474,
    "c": 0.05412,
    "h": 95.9
  },
  "luminance": 0.90084
}

Semantic roles & 50–950 ramp

primary
#FEF4CB
secondary
#8699E7
accent
#2DE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584

Preview Lab

Preview with #FEF4CB

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

Preview Lab → · Contrast checker → · Palette generator →

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