#FDF7E4#FDF7E4

#FDF7E4 is a very light, muted yellow. Relative luminance 0.930; OKLCH L 97.6% C 0.026 H 92.4°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FDF7E4
RGBrgb(253, 247, 228)
HSLhsl(46, 86%, 94%)
HSVhsv(46, 10%, 99%)
CMYKcmyk(0%, 2.4%, 9.9%, 0.8%)
CIE-LABlab(97.23, -1.16, 9.84)
CIE-LCHlch(97.23, 9.91, 96.72°)
OKLaboklab(97.57% -0.0011 0.0257)
OKLCHoklch(97.57% 0.026 92.4)
XYZxyz(87.7708, 93.0064, 86.7120)
Luminance0.9301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7E4 #E4EAFD
analogous
#FDEBE4 #FDF7E4 #F7FDE4
triadic
#FDF7E4 #E4FDF7 #F7E4FD
tetradic
#FDF7E4 #E4FDEB #E4EAFD #FDE4F7
square
#FDF7E4 #E4FDEB #E4EAFD #FDE4F7
split-complementary
#FDF7E4 #E4F7FD #EBE4FD
monochromatic
#F5D572 #F9E6AB #FDF7E3 #FDF7E3 #FDF7E3

Accessibility & contrast

On white

1.07
#FDF7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.60
#FDF7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7E4
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7E4#FFFFFF#000000##000000
##FDF7E41.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF6E3
Deuteranopia (green-blind)
#FDF8E5
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fdf7e4;
/* rgb */ color: rgb(253, 247, 228);
/* oklch */ color: oklch(97.6% 0.026 92.4);
Tailwind
colors: {
  custom: {
    50: '#fef9ec',
    500: '#fdf7e4',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7e4;
$custom-light: #fef9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7e4",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 228
  },
  "hsl": {
    "h": 45.6,
    "s": 86.207,
    "l": 94.314
  },
  "oklch": {
    "l": 0.97573,
    "c": 0.02574,
    "h": 92.4
  },
  "luminance": 0.93006
}

Semantic roles & 50–950 ramp

primary
#FDF7E4
secondary
#9EB0E7
accent
#39E303
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FDF7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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