#FDF7CF#FDF7CF

#FDF7CF is a very light, muted yellow. Relative luminance 0.919; OKLCH L 97.1% C 0.052 H 100.2°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FDF7CF
RGBrgb(253, 247, 207)
HSLhsl(52, 92%, 90%)
HSVhsv(52, 18%, 99%)
CMYKcmyk(0%, 2.4%, 18.2%, 0.8%)
CIE-LABlab(96.78, -4.36, 19.99)
CIE-LCHlch(96.78, 20.46, 102.30°)
OKLaboklab(97.07% -0.0093 0.0514)
OKLCHoklch(97.07% 0.052 100.2)
XYZxyz(85.0307, 91.9103, 72.2805)
Luminance0.9191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7CF #CFD5FD
analogous
#FDE0CF #FDF7CF #ECFDCF
triadic
#FDF7CF #CFFDF7 #F7CFFD
tetradic
#FDF7CF #CFFDE0 #CFD5FD #FDCFEC
square
#FDF7CF #CFFDE0 #CFD5FD #FDCFEC
split-complementary
#FDF7CF #CFECFD #E0CFFD
monochromatic
#F8E359 #FBED94 #FDF7CF #FEFAE2 #FEFAE2

Accessibility & contrast

On white

1.08
#FDF7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.38
#FDF7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7CF
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7CF#FFFFFF#000000##000000
##FDF7CF1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4CD
Deuteranopia (green-blind)
#FFF7D0
Tritanopia (blue-blind)
#FFF1EC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf7cf;
/* rgb */ color: rgb(253, 247, 207);
/* oklch */ color: oklch(97.1% 0.052 100.2);
Tailwind
colors: {
  custom: {
    50: '#fef9dd',
    500: '#fdf7cf',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7cf;
$custom-light: #fef9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7cf",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 207
  },
  "hsl": {
    "h": 52.174,
    "s": 92,
    "l": 90.196
  },
  "oklch": {
    "l": 0.97074,
    "c": 0.05218,
    "h": 100.2
  },
  "luminance": 0.91909
}

Semantic roles & 50–950 ramp

primary
#FDF7CF
secondary
#8A96E6
accent
#1EE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FDF7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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