#FDF86F#FDF86F

#FDF86F is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.157 H 107.1°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FDF86F
RGBrgb(253, 248, 111)
HSLhsl(58, 97%, 71%)
HSVhsv(58, 56%, 99%)
CMYKcmyk(0%, 2%, 56.1%, 0.8%)
CIE-LABlab(95.65, -15.25, 65.03)
CIE-LCHlch(95.65, 66.79, 103.20°)
OKLaboklab(95.72% -0.0463 0.1505)
OKLCHoklch(95.72% 0.157 107.1)
XYZxyz(76.9470, 89.1674, 28.1936)
Luminance0.8917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF86F #6F74FD
analogous
#FDB16F #FDF86F #BBFD6F
triadic
#FDF86F #6FFDF8 #F86FFD
tetradic
#FDF86F #6FFDB1 #6F74FD #FD6FBB
square
#FDF86F #6FFDB1 #6F74FD #FD6FBB
split-complementary
#FDF86F #6FBBFD #B16FFD
monochromatic
#EEE603 #FCF533 #FDF86F #FEFBAB #FFFEE1

Accessibility & contrast

On white

1.12
#FDF86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#FDF86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF86F
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF86F#FFFFFF#000000##000000
##FDF86F1.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFF576
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf86f;
/* rgb */ color: rgb(253, 248, 111);
/* oklch */ color: oklch(95.7% 0.157 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffa9d',
    500: '#fdf86f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf86f;
$custom-light: #fffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf86f",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 57.887,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95723,
    "c": 0.1574,
    "h": 107.1
  },
  "luminance": 0.89165
}

Semantic roles & 50–950 ramp

primary
#FDF86F
secondary
#373DD9
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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