#F9F2CD#F9F2CD

#F9F2CD is a very light, muted yellow. Relative luminance 0.881; OKLCH L 95.7% C 0.049 H 98.4°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F9F2CD
RGBrgb(249, 242, 205)
HSLhsl(50, 79%, 89%)
HSVhsv(50, 18%, 98%)
CMYKcmyk(0%, 2.8%, 17.7%, 2.4%)
CIE-LABlab(95.18, -3.56, 18.73)
CIE-LCHlch(95.18, 19.06, 100.78°)
OKLaboklab(95.72% -0.0071 0.0482)
OKLCHoklch(95.72% 0.049 98.4)
XYZxyz(81.8379, 88.0529, 70.4305)
Luminance0.8805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F2CD #CDD4F9
analogous
#F9DCCD #F9F2CD #EAF9CD
triadic
#F9F2CD #CDF9F2 #F2CDF9
tetradic
#F9F2CD #CDF9DC #CDD4F9 #F9CDEA
square
#F9F2CD #CDF9DC #CDD4F9 #F9CDEA
split-complementary
#F9F2CD #CDEAF9 #DCCDF9
monochromatic
#ECD660 #F2E496 #F9F2CD #FCF8E4 #FCF8E4

Accessibility & contrast

On white

1.13
#F9F2CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#F9F2CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F2CD
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F2CD#FFFFFF#000000##000000
##F9F2CD1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEFCB
Deuteranopia (green-blind)
#FCF2CE
Tritanopia (blue-blind)
#FFECE8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f2cd;
/* rgb */ color: rgb(249, 242, 205);
/* oklch */ color: oklch(95.7% 0.049 98.4);
Tailwind
colors: {
  custom: {
    50: '#fbf6dc',
    500: '#f9f2cd',
    950: '#000000',
  },
}
SCSS
$custom: #f9f2cd;
$custom-light: #fbf6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f2cd",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 205
  },
  "hsl": {
    "h": 50.455,
    "s": 78.571,
    "l": 89.02
  },
  "oklch": {
    "l": 0.95723,
    "c": 0.04872,
    "h": 98.4
  },
  "luminance": 0.88052
}

Semantic roles & 50–950 ramp

primary
#F9F2CD
secondary
#8C99DE
accent
#2CDB0B
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F9F2CD

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

Preview Lab → · Contrast checker → · Palette generator →

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