#FDF2CD#FDF2CD

#FDF2CD is a very light, muted yellow. Relative luminance 0.888; OKLCH L 96.0% C 0.050 H 93.4°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FDF2CD
RGBrgb(253, 242, 205)
HSLhsl(46, 92%, 90%)
HSVhsv(46, 19%, 99%)
CMYKcmyk(0%, 4.3%, 19%, 0.8%)
CIE-LABlab(95.50, -2.13, 19.21)
CIE-LCHlch(95.50, 19.33, 96.34°)
OKLaboklab(96.05% -0.0029 0.0494)
OKLCHoklch(96.05% 0.05 93.4)
XYZxyz(83.2792, 88.7961, 70.4981)
Luminance0.8880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2CD #CDD8FD
analogous
#FDDACD #FDF2CD #F0FDCD
triadic
#FDF2CD #CDFDF2 #F2CDFD
tetradic
#FDF2CD #CDFDDA #CDD8FD #FDCDF0
square
#FDF2CD #CDFDDA #CDD8FD #FDCDF0
split-complementary
#FDF2CD #CDF0FD #DACDFD
monochromatic
#F8D357 #FBE392 #FDF2CD #FEF7E2 #FEF7E2

Accessibility & contrast

On white

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

On black

18.76
#FDF2CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2CD
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2CD#FFFFFF#000000##000000
##FDF2CD1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf2cd;
/* rgb */ color: rgb(253, 242, 205);
/* oklch */ color: oklch(96.0% 0.050 93.4);
Tailwind
colors: {
  custom: {
    50: '#fef6dc',
    500: '#fdf2cd',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2cd;
$custom-light: #fef6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2cd",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 205
  },
  "hsl": {
    "h": 46.25,
    "s": 92.308,
    "l": 89.804
  },
  "oklch": {
    "l": 0.96045,
    "c": 0.0495,
    "h": 93.4
  },
  "luminance": 0.88795
}

Semantic roles & 50–950 ramp

primary
#FDF2CD
secondary
#899EE6
accent
#35E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FDF2CD

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

Preview Lab → · Contrast checker → · Palette generator →

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