#FDF87F#FDF87F

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

Color values

HEX#FDF87F
RGBrgb(253, 248, 127)
HSLhsl(58, 97%, 75%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 2%, 49.8%, 0.8%)
CIE-LABlab(95.81, -14.01, 58.09)
CIE-LCHlch(95.81, 59.75, 103.56°)
OKLaboklab(95.9% -0.0411 0.1371)
OKLCHoklch(95.9% 0.143 106.7)
XYZxyz(77.9081, 89.5519, 33.2558)
Luminance0.8955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF87F #7F84FD
analogous
#FDB97F #FDF87F #C3FD7F
triadic
#FDF87F #7FFDF8 #F87FFD
tetradic
#FDF87F #7FFDB9 #7F84FD #FD7FC3
square
#FDF87F #7FFDB9 #7F84FD #FD7FC3
split-complementary
#FDF87F #7FC3FD #B97FFD
monochromatic
#FBF106 #FCF543 #FDF87F #FEFBBB #FFFDE1

Accessibility & contrast

On white

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

On black

18.91
#FDF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF87F
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF87F#FFFFFF#000000##000000
##FDF87F1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf87f;
/* rgb */ color: rgb(253, 248, 127);
/* oklch */ color: oklch(95.9% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffaa7',
    500: '#fdf87f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf87f;
$custom-light: #fffaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf87f",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 57.619,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95902,
    "c": 0.14313,
    "h": 106.7
  },
  "luminance": 0.8955
}

Semantic roles & 50–950 ramp

primary
#FDF87F
secondary
#454BDB
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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