#FEF2CF#FEF2CF

#FEF2CF is a very light, muted orange. Relative luminance 0.891; OKLCH L 96.2% C 0.047 H 91.3°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FEF2CF
RGBrgb(254, 242, 207)
HSLhsl(45, 96%, 90%)
HSVhsv(45, 19%, 100%)
CMYKcmyk(0%, 4.7%, 18.5%, 0.4%)
CIE-LABlab(95.61, -1.49, 18.36)
CIE-LCHlch(95.61, 18.42, 94.63°)
OKLaboklab(96.17% -0.0011 0.0473)
OKLCHoklch(96.17% 0.047 91.3)
XYZxyz(83.8872, 89.0815, 71.7947)
Luminance0.8908 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2CF #CFDBFE
analogous
#FEDACF #FEF2CF #F2FECF
triadic
#FEF2CF #CFFEF2 #F2CFFE
tetradic
#FEF2CF #CFFEDA #CFDBFE #FECFF2
square
#FEF2CF #CFFEDA #CFDBFE #FECFF2
split-complementary
#FEF2CF #CFF2FE #DACFFE
monochromatic
#FCD257 #FDE293 #FEF2CF #FEF7E1 #FEF7E1

Accessibility & contrast

On white

1.12
#FEF2CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#FEF2CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2CF
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2CF#FFFFFF#000000##000000
##FEF2CF1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF0CD
Deuteranopia (green-blind)
#FDF4D0
Tritanopia (blue-blind)
#FFECE8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef2cf;
/* rgb */ color: rgb(254, 242, 207);
/* oklch */ color: oklch(96.2% 0.047 91.3);
Tailwind
colors: {
  custom: {
    50: '#fff6dd',
    500: '#fef2cf',
    950: '#000000',
  },
}
SCSS
$custom: #fef2cf;
$custom-light: #fff6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2cf",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 207
  },
  "hsl": {
    "h": 44.681,
    "s": 95.918,
    "l": 90.392
  },
  "oklch": {
    "l": 0.96171,
    "c": 0.04731,
    "h": 91.3
  },
  "luminance": 0.8908
}

Semantic roles & 50–950 ramp

primary
#FEF2CF
secondary
#89A1E8
accent
#3BE600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF2CF

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

Preview Lab → · Contrast checker → · Palette generator →

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