#FEF9EA#FEF9EA

#FEF9EA is a very light, muted yellow. Relative luminance 0.948; OKLCH L 98.2% C 0.020 H 91.6°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#FEF9EA
RGBrgb(254, 249, 234)
HSLhsl(45, 91%, 96%)
HSVhsv(45, 8%, 100%)
CMYKcmyk(0%, 2%, 7.9%, 0.4%)
CIE-LABlab(97.94, -0.86, 7.78)
CIE-LCHlch(97.94, 7.83, 96.29°)
OKLaboklab(98.2% -0.0006 0.0204)
OKLCHoklch(98.2% 0.02 91.6)
XYZxyz(89.5982, 94.7633, 91.3970)
Luminance0.9476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9EA #EAEFFE
analogous
#FEEFEA #FEF9EA #F9FEEA
triadic
#FEF9EA #EAFEF9 #F9EAFE
tetradic
#FEF9EA #EAFEEF #EAEFFE #FEEAF9
square
#FEF9EA #EAFEEF #EAEFFE #FEEAF9
split-complementary
#FEF9EA #EAF9FE #EFEAFE
monochromatic
#F8D875 #FBE8B0 #FEF7E2 #FEF7E2 #FEF7E2

Accessibility & contrast

On white

1.05
#FEF9EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.95
#FEF9EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF9EA
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF9EA#FFFFFF#000000##000000
##FEF9EA1.001.0519.9519.95
#FFFFFF1.051.0021.0021.00
#00000019.9521.001.001.00
##00000019.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF8E9
Deuteranopia (green-blind)
#FEFAEA
Tritanopia (blue-blind)
#FFF6F5
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fef9ea;
/* rgb */ color: rgb(254, 249, 234);
/* oklch */ color: oklch(98.2% 0.020 91.6);
Tailwind
colors: {
  custom: {
    50: '#fefbf0',
    500: '#fef9ea',
    950: '#000000',
  },
}
SCSS
$custom: #fef9ea;
$custom-light: #fefbf0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9ea",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 234
  },
  "hsl": {
    "h": 45,
    "s": 90.909,
    "l": 95.686
  },
  "oklch": {
    "l": 0.98195,
    "c": 0.02042,
    "h": 91.6
  },
  "luminance": 0.94763
}

Semantic roles & 50–950 ramp

primary
#FEF9EA
secondary
#A2B4EA
accent
#39E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FEF9EA

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

Preview Lab → · Contrast checker → · Palette generator →

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