#FDF8AE#FDF8AE

#FDF8AE is a very light, moderate yellow. Relative luminance 0.911; OKLCH L 96.6% C 0.093 H 104.7°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#FDF8AE
RGBrgb(253, 248, 174)
HSLhsl(56, 95%, 84%)
HSVhsv(56, 31%, 99%)
CMYKcmyk(0%, 2%, 31.2%, 0.8%)
CIE-LABlab(96.44, -9.22, 36.23)
CIE-LCHlch(96.44, 37.39, 104.28°)
OKLaboklab(96.61% -0.0237 0.0902)
OKLCHoklch(96.61% 0.093 104.7)
XYZxyz(81.7160, 91.0751, 53.3108)
Luminance0.9107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8AE #AEB3FD
analogous
#FDD0AE #FDF8AE #DAFDAE
triadic
#FDF8AE #AEFDF8 #F8AEFD
tetradic
#FDF8AE #AEFDD0 #AEB3FD #FDAEDA
square
#FDF8AE #AEFDD0 #AEB3FD #FDAEDA
split-complementary
#FDF8AE #AEDAFD #D0AEFD
monochromatic
#FAEE37 #FCF372 #FDF8AE #FEFCE1 #FEFCE1

Accessibility & contrast

On white

1.09
#FDF8AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.21
#FDF8AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8AE
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8AE#FFFFFF#000000##000000
##FDF8AE1.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3A9
Deuteranopia (green-blind)
#FFF7B1
Tritanopia (blue-blind)
#FFEFE5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf8ae;
/* rgb */ color: rgb(253, 248, 174);
/* oklch */ color: oklch(96.6% 0.093 104.7);
Tailwind
colors: {
  custom: {
    50: '#fffac6',
    500: '#fdf8ae',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8ae;
$custom-light: #fffac6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8ae",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 174
  },
  "hsl": {
    "h": 56.203,
    "s": 95.181,
    "l": 83.725
  },
  "oklch": {
    "l": 0.96608,
    "c": 0.09327,
    "h": 104.7
  },
  "luminance": 0.91073
}

Semantic roles & 50–950 ramp

primary
#FDF8AE
secondary
#6D75E2
accent
#0FE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FDF8AE

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

Preview Lab → · Contrast checker → · Palette generator →

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