#FEF5CF#FEF5CF

#FEF5CF is a very light, muted yellow. Relative luminance 0.909; OKLCH L 96.8% C 0.050 H 96.2°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FEF5CF
RGBrgb(254, 245, 207)
HSLhsl(49, 96%, 90%)
HSVhsv(49, 19%, 100%)
CMYKcmyk(0%, 3.5%, 18.5%, 0.4%)
CIE-LABlab(96.36, -3.00, 19.41)
CIE-LCHlch(96.36, 19.64, 98.77°)
OKLaboklab(96.76% -0.0054 0.0499)
OKLCHoklch(96.76% 0.05 96.2)
XYZxyz(84.7875, 90.8819, 72.0948)
Luminance0.9088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5CF #CFD8FE
analogous
#FEDDCF #FEF5CF #EFFECF
triadic
#FEF5CF #CFFEF5 #F5CFFE
tetradic
#FEF5CF #CFFEDD #CFD8FE #FECFEF
square
#FEF5CF #CFFEDD #CFD8FE #FECFEF
split-complementary
#FEF5CF #CFEFFE #DDCFFE
monochromatic
#FCDC57 #FDE993 #FEF5CF #FEF9E1 #FEF9E1

Accessibility & contrast

On white

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

On black

19.18
#FEF5CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5CF
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5CF#FFFFFF#000000##000000
##FEF5CF1.001.1019.1819.18
#FFFFFF1.101.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF3CD
Deuteranopia (green-blind)
#FFF6D0
Tritanopia (blue-blind)
#FFEFEA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef5cf;
/* rgb */ color: rgb(254, 245, 207);
/* oklch */ color: oklch(96.8% 0.050 96.2);
Tailwind
colors: {
  custom: {
    50: '#fff8dd',
    500: '#fef5cf',
    950: '#000000',
  },
}
SCSS
$custom: #fef5cf;
$custom-light: #fff8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5cf",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 207
  },
  "hsl": {
    "h": 48.511,
    "s": 95.918,
    "l": 90.392
  },
  "oklch": {
    "l": 0.9676,
    "c": 0.0502,
    "h": 96.2
  },
  "luminance": 0.90881
}

Semantic roles & 50–950 ramp

primary
#FEF5CF
secondary
#899BE8
accent
#2CE600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF5CF

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

Preview Lab → · Contrast checker → · Palette generator →

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