#FDF2BF#FDF2BF

#FDF2BF is a very light, moderate yellow. Relative luminance 0.881; OKLCH L 95.7% C 0.067 H 97.3°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#FDF2BF
RGBrgb(253, 242, 191)
HSLhsl(49, 94%, 87%)
HSVhsv(49, 25%, 99%)
CMYKcmyk(0%, 4.3%, 24.5%, 0.8%)
CIE-LABlab(95.22, -4.08, 26.00)
CIE-LCHlch(95.22, 26.32, 98.91°)
OKLaboklab(95.74% -0.0084 0.066)
OKLCHoklch(95.74% 0.067 97.3)
XYZxyz(81.6643, 88.1501, 61.9928)
Luminance0.8815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2BF #BFCAFD
analogous
#FDD3BF #FDF2BF #E9FDBF
triadic
#FDF2BF #BFFDF2 #F2BFFD
tetradic
#FDF2BF #BFFDD3 #BFCAFD #FDBFE9
square
#FDF2BF #BFFDD3 #BFCAFD #FDBFE9
split-complementary
#FDF2BF #BFE9FD #D3BFFD
monochromatic
#F9DA48 #FBE684 #FDF2BF #FEF9E1 #FEF9E1

Accessibility & contrast

On white

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

On black

18.63
#FDF2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2BF
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2BF#FFFFFF#000000##000000
##FDF2BF1.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEFBC
Deuteranopia (green-blind)
#FFF3C1
Tritanopia (blue-blind)
#FFEAE4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf2bf;
/* rgb */ color: rgb(253, 242, 191);
/* oklch */ color: oklch(95.7% 0.067 97.3);
Tailwind
colors: {
  custom: {
    50: '#fef6d2',
    500: '#fdf2bf',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2bf;
$custom-light: #fef6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2bf",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 191
  },
  "hsl": {
    "h": 49.355,
    "s": 93.939,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95742,
    "c": 0.06657,
    "h": 97.3
  },
  "luminance": 0.88148
}

Semantic roles & 50–950 ramp

primary
#FDF2BF
secondary
#7C8FE4
accent
#29E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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