#FDF87D#FDF87D

#FDF87D is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.9% C 0.145 H 106.7°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FDF87D
RGBrgb(253, 248, 125)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 2%, 50.6%, 0.8%)
CIE-LABlab(95.79, -14.17, 58.97)
CIE-LCHlch(95.79, 60.65, 103.51°)
OKLaboklab(95.88% -0.0417 0.1389)
OKLCHoklch(95.88% 0.145 106.7)
XYZxyz(77.7791, 89.5003, 32.5762)
Luminance0.8950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF87D #7D82FD
analogous
#FDB87D #FDF87D #C2FD7D
triadic
#FDF87D #7DFDF8 #F87DFD
tetradic
#FDF87D #7DFDB8 #7D82FD #FD7DC2
square
#FDF87D #7DFDB8 #7D82FD #FD7DC2
split-complementary
#FDF87D #7DC2FD #B87DFD
monochromatic
#FBF204 #FCF541 #FDF87D #FEFBB9 #FFFDE1

Accessibility & contrast

On white

1.11
#FDF87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FDF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF87D
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF87D#FFFFFF#000000##000000
##FDF87D1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF072
Deuteranopia (green-blind)
#FFF583
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf87d;
/* rgb */ color: rgb(253, 248, 125);
/* oklch */ color: oklch(95.9% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffaa6',
    500: '#fdf87d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf87d;
$custom-light: #fffaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf87d",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 57.656,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95878,
    "c": 0.145,
    "h": 106.7
  },
  "luminance": 0.89498
}

Semantic roles & 50–950 ramp

primary
#FDF87D
secondary
#4349DB
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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