#FFF9CB#FFF9CB

#FFF9CB is a very light, muted yellow. Relative luminance 0.933; OKLCH L 97.5% C 0.060 H 101.3°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FFF9CB
RGBrgb(255, 249, 203)
HSLhsl(53, 100%, 90%)
HSVhsv(53, 20%, 100%)
CMYKcmyk(0%, 2.4%, 20.4%, 0%)
CIE-LABlab(97.36, -5.21, 22.85)
CIE-LCHlch(97.36, 23.44, 102.84°)
OKLaboklab(97.54% -0.0116 0.0584)
OKLCHoklch(97.54% 0.06 101.3)
XYZxyz(85.8948, 93.3244, 69.9769)
Luminance0.9332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9CB #CBD1FF
analogous
#FFDFCB #FFF9CB #EBFFCB
triadic
#FFF9CB #CBFFF9 #F9CBFF
tetradic
#FFF9CB #CBFFDF #CBD1FF #FFCBEB
square
#FFF9CB #CBFFDF #CBD1FF #FFCBEB
split-complementary
#FFF9CB #CBEBFF #DFCBFF
monochromatic
#FFEB51 #FFF28E #FFF9CB #FFFBE0 #FFFBE0

Accessibility & contrast

On white

1.07
#FFF9CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.66
#FFF9CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9CB
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9CB#FFFFFF#000000##000000
##FFF9CB1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6C8
Deuteranopia (green-blind)
#FFF9CD
Tritanopia (blue-blind)
#FFF2EC
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff9cb;
/* rgb */ color: rgb(255, 249, 203);
/* oklch */ color: oklch(97.5% 0.060 101.3);
Tailwind
colors: {
  custom: {
    50: '#fffbdb',
    500: '#fff9cb',
    950: '#000000',
  },
}
SCSS
$custom: #fff9cb;
$custom-light: #fffbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9cb",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 203
  },
  "hsl": {
    "h": 53.077,
    "s": 100,
    "l": 89.804
  },
  "oklch": {
    "l": 0.9754,
    "c": 0.05957,
    "h": 101.3
  },
  "luminance": 0.93323
}

Semantic roles & 50–950 ramp

primary
#FFF9CB
secondary
#8590E9
accent
#1AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFF9CB

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

Preview Lab → · Contrast checker → · Palette generator →

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