#FDF84D#FDF84D

#FDF84D is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.182 H 107.7°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FDF84D
RGBrgb(253, 248, 77)
HSLhsl(58, 98%, 65%)
HSVhsv(58, 70%, 99%)
CMYKcmyk(0%, 2%, 69.6%, 0.8%)
CIE-LABlab(95.39, -17.25, 78.11)
CIE-LCHlch(95.39, 79.99, 102.46°)
OKLaboklab(95.44% -0.0554 0.1733)
OKLCHoklch(95.44% 0.182 107.7)
XYZxyz(75.4178, 88.5558, 20.1400)
Luminance0.8855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF84D #4D52FD
analogous
#FDA04D #FDF84D #AAFD4D
triadic
#FDF84D #4DFDF8 #F84DFD
tetradic
#FDF84D #4DFDA0 #4D52FD #FD4DAA
square
#FDF84D #4DFDA0 #4D52FD #FD4DAA
split-complementary
#FDF84D #4DAAFD #A04DFD
monochromatic
#CDC802 #FCF610 #FDF84D #FEFA8A #FEFDC6

Accessibility & contrast

On white

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

On black

18.71
#FDF84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF84D
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF84D#FFFFFF#000000##000000
##FDF84D1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE30
Deuteranopia (green-blind)
#FFF559
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf84d;
/* rgb */ color: rgb(253, 248, 77);
/* oklch */ color: oklch(95.4% 0.182 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffa89',
    500: '#fdf84d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf84d;
$custom-light: #fffa89;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf84d",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 77
  },
  "hsl": {
    "h": 58.295,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.95437,
    "c": 0.18191,
    "h": 107.7
  },
  "luminance": 0.88553
}

Semantic roles & 50–950 ramp

primary
#FDF84D
secondary
#262AC9
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FDF84D

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

Preview Lab → · Contrast checker → · Palette generator →

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