#FDF2C2#FDF2C2

#FDF2C2 is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.8% C 0.063 H 96.6°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FDF2C2
RGBrgb(253, 242, 194)
HSLhsl(49, 94%, 88%)
HSVhsv(49, 23%, 99%)
CMYKcmyk(0%, 4.3%, 23.3%, 0.8%)
CIE-LABlab(95.28, -3.67, 24.55)
CIE-LCHlch(95.28, 24.82, 98.51°)
OKLaboklab(95.8% -0.0073 0.0625)
OKLCHoklch(95.8% 0.063 96.6)
XYZxyz(81.9978, 88.2835, 63.7494)
Luminance0.8828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2C2 #C2CDFD
analogous
#FDD5C2 #FDF2C2 #EAFDC2
triadic
#FDF2C2 #C2FDF2 #F2C2FD
tetradic
#FDF2C2 #C2FDD5 #C2CDFD #FDC2EA
square
#FDF2C2 #C2FDD5 #C2CDFD #FDC2EA
split-complementary
#FDF2C2 #C2EAFD #D5C2FD
monochromatic
#F9D94B #FBE587 #FDF2C2 #FEF9E1 #FEF9E1

Accessibility & contrast

On white

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

On black

18.66
#FDF2C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2C2
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2C2#FFFFFF#000000##000000
##FDF2C21.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEFBF
Deuteranopia (green-blind)
#FFF3C4
Tritanopia (blue-blind)
#FFEBE5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf2c2;
/* rgb */ color: rgb(253, 242, 194);
/* oklch */ color: oklch(95.8% 0.063 96.6);
Tailwind
colors: {
  custom: {
    50: '#fef6d4',
    500: '#fdf2c2',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2c2;
$custom-light: #fef6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2c2",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 194
  },
  "hsl": {
    "h": 48.814,
    "s": 93.651,
    "l": 87.647
  },
  "oklch": {
    "l": 0.95804,
    "c": 0.06293,
    "h": 96.6
  },
  "luminance": 0.88282
}

Semantic roles & 50–950 ramp

primary
#FDF2C2
secondary
#7F92E4
accent
#2BE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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