#FEF9BD#FEF9BD

#FEF9BD is a very light, moderate yellow. Relative luminance 0.925; OKLCH L 97.2% C 0.077 H 103.7°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FEF9BD
RGBrgb(254, 249, 189)
HSLhsl(55, 97%, 87%)
HSVhsv(55, 26%, 100%)
CMYKcmyk(0%, 2%, 25.6%, 0.4%)
CIE-LABlab(97.02, -7.47, 29.48)
CIE-LCHlch(97.02, 30.42, 104.22°)
OKLaboklab(97.17% -0.0182 0.0744)
OKLCHoklch(97.17% 0.077 103.7)
XYZxyz(83.9342, 92.4977, 61.5665)
Luminance0.9250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9BD #BDC2FE
analogous
#FED9BD #FEF9BD #E3FEBD
triadic
#FEF9BD #BDFEF9 #F9BDFE
tetradic
#FEF9BD #BDFED9 #BDC2FE #FEBDE3
square
#FEF9BD #BDFED9 #BDC2FE #FEBDE3
split-complementary
#FEF9BD #BDE3FE #D9BDFE
monochromatic
#FCEE44 #FDF481 #FEF9BD #FFFCE1 #FFFCE1

Accessibility & contrast

On white

1.08
#FEF9BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#FEF9BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF9BD
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF9BD#FFFFFF#000000##000000
##FEF9BD1.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B9
Deuteranopia (green-blind)
#FFF8BF
Tritanopia (blue-blind)
#FFF1E9
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fef9bd;
/* rgb */ color: rgb(254, 249, 189);
/* oklch */ color: oklch(97.2% 0.077 103.7);
Tailwind
colors: {
  custom: {
    50: '#fffbd1',
    500: '#fef9bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef9bd;
$custom-light: #fffbd1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9bd",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 189
  },
  "hsl": {
    "h": 55.385,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.97171,
    "c": 0.07663,
    "h": 103.7
  },
  "luminance": 0.92496
}

Semantic roles & 50–950 ramp

primary
#FEF9BD
secondary
#7A82E6
accent
#12E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF9BD

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

Preview Lab → · Contrast checker → · Palette generator →

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