#FDF9AF#FDF9AF

#FDF9AF is a very light, moderate yellow. Relative luminance 0.917; OKLCH L 96.8% C 0.093 H 105.4°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FDF9AF
RGBrgb(253, 249, 175)
HSLhsl(57, 95%, 84%)
HSVhsv(57, 31%, 99%)
CMYKcmyk(0%, 1.6%, 30.8%, 0.8%)
CIE-LABlab(96.71, -9.60, 36.09)
CIE-LCHlch(96.71, 37.34, 104.89°)
OKLaboklab(96.83% -0.0247 0.0899)
OKLCHoklch(96.83% 0.093 105.4)
XYZxyz(82.1222, 91.7307, 53.9288)
Luminance0.9173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF9AF #AFB3FD
analogous
#FDD2AF #FDF9AF #DAFDAF
triadic
#FDF9AF #AFFDF9 #F9AFFD
tetradic
#FDF9AF #AFFDD2 #AFB3FD #FDAFDA
square
#FDF9AF #AFFDD2 #AFB3FD #FDAFDA
split-complementary
#FDF9AF #AFDAFD #D2AFFD
monochromatic
#FAF038 #FCF573 #FDF9AF #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.35
#FDF9AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF9AF
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF9AF#FFFFFF#000000##000000
##FDF9AF1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3AA
Deuteranopia (green-blind)
#FFF7B2
Tritanopia (blue-blind)
#FFF0E6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf9af;
/* rgb */ color: rgb(253, 249, 175);
/* oklch */ color: oklch(96.8% 0.093 105.4);
Tailwind
colors: {
  custom: {
    50: '#fffbc7',
    500: '#fdf9af',
    950: '#000000',
  },
}
SCSS
$custom: #fdf9af;
$custom-light: #fffbc7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf9af",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 175
  },
  "hsl": {
    "h": 56.923,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.96826,
    "c": 0.09323,
    "h": 105.4
  },
  "luminance": 0.91729
}

Semantic roles & 50–950 ramp

primary
#FDF9AF
secondary
#6E74E2
accent
#0CE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FDF9AF

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

Preview Lab → · Contrast checker → · Palette generator →

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