#FDF87E#FDF87E

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

Color values

HEX#FDF87E
RGBrgb(253, 248, 126)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 2%, 50.2%, 0.8%)
CIE-LABlab(95.80, -14.09, 58.53)
CIE-LCHlch(95.80, 60.20, 103.54°)
OKLaboklab(95.89% -0.0414 0.138)
OKLCHoklch(95.89% 0.144 106.7)
XYZxyz(77.8433, 89.5260, 32.9143)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF87E #7E83FD
analogous
#FDB97E #FDF87E #C3FD7E
triadic
#FDF87E #7EFDF8 #F87EFD
tetradic
#FDF87E #7EFDB9 #7E83FD #FD7EC3
square
#FDF87E #7EFDB9 #7E83FD #FD7EC3
split-complementary
#FDF87E #7EC3FD #B97EFD
monochromatic
#FBF105 #FCF542 #FDF87E #FEFBBA #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF87E#FFFFFF#000000##000000
##FDF87E1.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)
#FFF073
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf87e;
/* rgb */ color: rgb(253, 248, 126);
/* oklch */ color: oklch(95.9% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffaa6',
    500: '#fdf87e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf87e;
$custom-light: #fffaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf87e",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 57.638,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9589,
    "c": 0.14407,
    "h": 106.7
  },
  "luminance": 0.89524
}

Semantic roles & 50–950 ramp

primary
#FDF87E
secondary
#444ADB
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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