#FDF86A#FDF86A

#FDF86A is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.162 H 107.2°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FDF86A
RGBrgb(253, 248, 106)
HSLhsl(58, 97%, 70%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 2%, 58.1%, 0.8%)
CIE-LABlab(95.61, -15.60, 67.11)
CIE-LCHlch(95.61, 68.90, 103.08°)
OKLaboklab(95.67% -0.0478 0.1543)
OKLCHoklch(95.67% 0.162 107.2)
XYZxyz(76.6793, 89.0604, 26.7840)
Luminance0.8906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF86A #6A6FFD
analogous
#FDAE6A #FDF86A #B9FD6A
triadic
#FDF86A #6AFDF8 #F86AFD
tetradic
#FDF86A #6AFDAE #6A6FFD #FD6AB9
square
#FDF86A #6AFDAE #6A6FFD #FD6AB9
split-complementary
#FDF86A #6AB9FD #AE6AFD
monochromatic
#E9E203 #FCF52E #FDF86A #FEFBA6 #FFFEE1

Accessibility & contrast

On white

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

On black

18.81
#FDF86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF86A
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF86A#FFFFFF#000000##000000
##FDF86A1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF572
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf86a;
/* rgb */ color: rgb(253, 248, 106);
/* oklch */ color: oklch(95.7% 0.162 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fdf86a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf86a;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf86a",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 57.959,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95673,
    "c": 0.16153,
    "h": 107.2
  },
  "luminance": 0.89058
}

Semantic roles & 50–950 ramp

primary
#FDF86A
secondary
#3338D8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF86A

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

Preview Lab → · Contrast checker → · Palette generator →

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