#FDF2CF#FDF2CF

#FDF2CF is a very light, muted yellow. Relative luminance 0.889; OKLCH L 96.1% C 0.047 H 92.6°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FDF2CF
RGBrgb(253, 242, 207)
HSLhsl(46, 92%, 90%)
HSVhsv(46, 18%, 99%)
CMYKcmyk(0%, 4.3%, 18.2%, 0.8%)
CIE-LABlab(95.54, -1.84, 18.24)
CIE-LCHlch(95.54, 18.33, 95.77°)
OKLaboklab(96.09% -0.0021 0.047)
OKLCHoklch(96.09% 0.047 92.6)
XYZxyz(83.5221, 88.8933, 71.7776)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2CF #CFDAFD
analogous
#FDDBCF #FDF2CF #F1FDCF
triadic
#FDF2CF #CFFDF2 #F2CFFD
tetradic
#FDF2CF #CFFDDB #CFDAFD #FDCFF1
square
#FDF2CF #CFFDDB #CFDAFD #FDCFF1
split-complementary
#FDF2CF #CFF1FD #DBCFFD
monochromatic
#F8D259 #FBE294 #FDF2CF #FEF7E2 #FEF7E2

Accessibility & contrast

On white

1.12
#FDF2CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FDF2CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2CF
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2CF#FFFFFF#000000##000000
##FDF2CF1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF0CD
Deuteranopia (green-blind)
#FDF4D0
Tritanopia (blue-blind)
#FFECE8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf2cf;
/* rgb */ color: rgb(253, 242, 207);
/* oklch */ color: oklch(96.1% 0.047 92.6);
Tailwind
colors: {
  custom: {
    50: '#fef6dd',
    500: '#fdf2cf',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2cf;
$custom-light: #fef6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2cf",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 207
  },
  "hsl": {
    "h": 45.652,
    "s": 92,
    "l": 90.196
  },
  "oklch": {
    "l": 0.9609,
    "c": 0.04705,
    "h": 92.6
  },
  "luminance": 0.88892
}

Semantic roles & 50–950 ramp

primary
#FDF2CF
secondary
#8AA0E6
accent
#37E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FDF2CF

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

Preview Lab → · Contrast checker → · Palette generator →

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