#FDF2C7#FDF2C7

#FDF2C7 is a very light, muted yellow. Relative luminance 0.885; OKLCH L 95.9% C 0.057 H 95.3°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FDF2C7
RGBrgb(253, 242, 199)
HSLhsl(48, 93%, 89%)
HSVhsv(48, 21%, 99%)
CMYKcmyk(0%, 4.3%, 21.3%, 0.8%)
CIE-LABlab(95.38, -2.98, 22.12)
CIE-LCHlch(95.38, 22.32, 97.68°)
OKLaboklab(95.91% -0.0053 0.0566)
OKLCHoklch(95.91% 0.057 95.3)
XYZxyz(82.5688, 88.5119, 66.7566)
Luminance0.8851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2C7 #C7D2FD
analogous
#FDD7C7 #FDF2C7 #EDFDC7
triadic
#FDF2C7 #C7FDF2 #F2C7FD
tetradic
#FDF2C7 #C7FDD7 #C7D2FD #FDC7ED
square
#FDF2C7 #C7FDD7 #C7D2FD #FDC7ED
split-complementary
#FDF2C7 #C7EDFD #D7C7FD
monochromatic
#F9D751 #FBE48C #FDF2C7 #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

18.70
#FDF2C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2C7
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2C7#FFFFFF#000000##000000
##FDF2C71.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF0C4
Deuteranopia (green-blind)
#FEF3C8
Tritanopia (blue-blind)
#FFEBE6
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf2c7;
/* rgb */ color: rgb(253, 242, 199);
/* oklch */ color: oklch(95.9% 0.057 95.3);
Tailwind
colors: {
  custom: {
    50: '#fef6d8',
    500: '#fdf2c7',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2c7;
$custom-light: #fef6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2c7",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 199
  },
  "hsl": {
    "h": 47.778,
    "s": 93.103,
    "l": 88.627
  },
  "oklch": {
    "l": 0.95912,
    "c": 0.05685,
    "h": 95.3
  },
  "luminance": 0.8851
}

Semantic roles & 50–950 ramp

primary
#FDF2C7
secondary
#8397E5
accent
#2FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF2C7

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

Preview Lab → · Contrast checker → · Palette generator →

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