#FEF9BB#FEF9BB

#FEF9BB is a very light, moderate yellow. Relative luminance 0.924; OKLCH L 97.1% C 0.079 H 103.9°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FEF9BB
RGBrgb(254, 249, 187)
HSLhsl(56, 97%, 86%)
HSVhsv(56, 26%, 100%)
CMYKcmyk(0%, 2%, 26.4%, 0.4%)
CIE-LABlab(96.99, -7.73, 30.45)
CIE-LCHlch(96.99, 31.41, 104.24°)
OKLaboklab(97.13% -0.019 0.0767)
OKLCHoklch(97.13% 0.079 103.9)
XYZxyz(83.7186, 92.4115, 60.4311)
Luminance0.9241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9BB #BBC0FE
analogous
#FED8BB #FEF9BB #E2FEBB
triadic
#FEF9BB #BBFEF9 #F9BBFE
tetradic
#FEF9BB #BBFED8 #BBC0FE #FEBBE2
square
#FEF9BB #BBFED8 #BBC0FE #FEBBE2
split-complementary
#FEF9BB #BBE2FE #D8BBFE
monochromatic
#FCEE42 #FDF47F #FEF9BB #FFFCE1 #FFFCE1

Accessibility & contrast

On white

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

On black

19.48
#FEF9BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF9BB
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF9BB#FFFFFF#000000##000000
##FEF9BB1.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B7
Deuteranopia (green-blind)
#FFF8BD
Tritanopia (blue-blind)
#FFF1E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fef9bb;
/* rgb */ color: rgb(254, 249, 187);
/* oklch */ color: oklch(97.1% 0.079 103.9);
Tailwind
colors: {
  custom: {
    50: '#fffbcf',
    500: '#fef9bb',
    950: '#000000',
  },
}
SCSS
$custom: #fef9bb;
$custom-light: #fffbcf;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9bb",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 187
  },
  "hsl": {
    "h": 55.522,
    "s": 97.101,
    "l": 86.471
  },
  "oklch": {
    "l": 0.97131,
    "c": 0.07905,
    "h": 103.9
  },
  "luminance": 0.9241
}

Semantic roles & 50–950 ramp

primary
#FEF9BB
secondary
#7880E5
accent
#11E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF9BB

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

Preview Lab → · Contrast checker → · Palette generator →

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