#FDF89D#FDF89D

#FDF89D is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.3% C 0.112 H 105.6°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FDF89D
RGBrgb(253, 248, 157)
HSLhsl(57, 96%, 80%)
HSVhsv(57, 38%, 99%)
CMYKcmyk(0%, 2%, 37.9%, 0.8%)
CIE-LABlab(96.18, -11.15, 44.30)
CIE-LCHlch(96.18, 45.69, 104.13°)
OKLaboklab(96.32% -0.0303 0.1083)
OKLCHoklch(96.32% 0.112 105.6)
XYZxyz(80.1624, 90.4536, 45.1283)
Luminance0.9045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF89D #9DA2FD
analogous
#FDC89D #FDF89D #D2FD9D
triadic
#FDF89D #9DFDF8 #F89DFD
tetradic
#FDF89D #9DFDC8 #9DA2FD #FD9DD2
square
#FDF89D #9DFDC8 #9DA2FD #FD9DD2
split-complementary
#FDF89D #9DD2FD #C89DFD
monochromatic
#FBEF25 #FCF461 #FDF89D #FEFCD9 #FEFDE1

Accessibility & contrast

On white

1.10
#FDF89D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.09
#FDF89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF89D
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF89D#FFFFFF#000000##000000
##FDF89D1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF296
Deuteranopia (green-blind)
#FFF6A1
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf89d;
/* rgb */ color: rgb(253, 248, 157);
/* oklch */ color: oklch(96.3% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffabb',
    500: '#fdf89d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf89d;
$custom-light: #fffabb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf89d",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 56.875,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96321,
    "c": 0.11248,
    "h": 105.6
  },
  "luminance": 0.90452
}

Semantic roles & 50–950 ramp

primary
#FDF89D
secondary
#5F65E0
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF89D

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

Preview Lab → · Contrast checker → · Palette generator →

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