#FEF5CD#FEF5CD

#FEF5CD is a very light, muted yellow. Relative luminance 0.908; OKLCH L 96.7% C 0.053 H 96.7°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FEF5CD
RGBrgb(254, 245, 205)
HSLhsl(49, 96%, 90%)
HSVhsv(49, 19%, 100%)
CMYKcmyk(0%, 3.5%, 19.3%, 0.4%)
CIE-LABlab(96.32, -3.28, 20.38)
CIE-LCHlch(96.32, 20.64, 99.15°)
OKLaboklab(96.71% -0.0062 0.0523)
OKLCHoklch(96.71% 0.053 96.7)
XYZxyz(84.5445, 90.7848, 70.8152)
Luminance0.9078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5CD #CDD6FE
analogous
#FEDDCD #FEF5CD #EEFECD
triadic
#FEF5CD #CDFEF5 #F5CDFE
tetradic
#FEF5CD #CDFEDD #CDD6FE #FECDEE
square
#FEF5CD #CDFEDD #CDD6FE #FECDEE
split-complementary
#FEF5CD #CDEEFE #DDCDFE
monochromatic
#FCDD55 #FDE991 #FEF5CD #FEF9E1 #FEF9E1

Accessibility & contrast

On white

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

On black

19.16
#FEF5CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5CD
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5CD#FFFFFF#000000##000000
##FEF5CD1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef5cd;
/* rgb */ color: rgb(254, 245, 205);
/* oklch */ color: oklch(96.7% 0.053 96.7);
Tailwind
colors: {
  custom: {
    50: '#fff8dc',
    500: '#fef5cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef5cd;
$custom-light: #fff8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5cd",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 205
  },
  "hsl": {
    "h": 48.98,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.96715,
    "c": 0.05267,
    "h": 96.7
  },
  "luminance": 0.90783
}

Semantic roles & 50–950 ramp

primary
#FEF5CD
secondary
#8899E8
accent
#2AE600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF5CD

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

Preview Lab → · Contrast checker → · Palette generator →

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