#FDF87A#FDF87A

#FDF87A is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.148 H 106.8°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#FDF87A
RGBrgb(253, 248, 122)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 2%, 51.8%, 0.8%)
CIE-LABlab(95.76, -14.42, 60.30)
CIE-LCHlch(95.76, 61.99, 103.45°)
OKLaboklab(95.84% -0.0428 0.1415)
OKLCHoklch(95.84% 0.148 106.8)
XYZxyz(77.5903, 89.4248, 31.5821)
Luminance0.8942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF87A #7A7FFD
analogous
#FDB67A #FDF87A #C0FD7A
triadic
#FDF87A #7AFDF8 #F87AFD
tetradic
#FDF87A #7AFDB6 #7A7FFD #FD7AC0
square
#FDF87A #7AFDB6 #7A7FFD #FD7AC0
split-complementary
#FDF87A #7AC0FD #B67AFD
monochromatic
#F9F004 #FCF53E #FDF87A #FEFBB6 #FFFDE1

Accessibility & contrast

On white

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

On black

18.88
#FDF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF87A
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF87A#FFFFFF#000000##000000
##FDF87A1.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06E
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf87a;
/* rgb */ color: rgb(253, 248, 122);
/* oklch */ color: oklch(95.8% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffaa4',
    500: '#fdf87a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf87a;
$custom-light: #fffaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf87a",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 57.71,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95843,
    "c": 0.14777,
    "h": 106.8
  },
  "luminance": 0.89423
}

Semantic roles & 50–950 ramp

primary
#FDF87A
secondary
#4146DB
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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