#FDF85D#FDF85D

#FDF85D is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.171 H 107.5°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FDF85D
RGBrgb(253, 248, 93)
HSLhsl(58, 98%, 68%)
HSVhsv(58, 63%, 99%)
CMYKcmyk(0%, 2%, 63.2%, 0.8%)
CIE-LABlab(95.50, -16.42, 72.29)
CIE-LCHlch(95.50, 74.13, 102.79°)
OKLaboklab(95.56% -0.0514 0.1635)
OKLCHoklch(95.56% 0.171 107.5)
XYZxyz(76.0538, 88.8102, 23.4896)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF85D #5D62FD
analogous
#FDA85D #FDF85D #B2FD5D
triadic
#FDF85D #5DFDF8 #F85DFD
tetradic
#FDF85D #5DFDA8 #5D62FD #FD5DB2
square
#FDF85D #5DFDA8 #5D62FD #FD5DB2
split-complementary
#FDF85D #5DB2FD #A85DFD
monochromatic
#DDD603 #FCF521 #FDF85D #FEFB99 #FEFDD6

Accessibility & contrast

On white

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

On black

18.76
#FDF85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF85D
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF85D#FFFFFF#000000##000000
##FDF85D1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF49
Deuteranopia (green-blind)
#FFF567
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf85d;
/* rgb */ color: rgb(253, 248, 93);
/* oklch */ color: oklch(95.6% 0.171 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffa92',
    500: '#fdf85d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf85d;
$custom-light: #fffa92;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf85d",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 93
  },
  "hsl": {
    "h": 58.125,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95556,
    "c": 0.17143,
    "h": 107.5
  },
  "luminance": 0.88808
}

Semantic roles & 50–950 ramp

primary
#FDF85D
secondary
#282ED6
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FDF85D

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

Preview Lab → · Contrast checker → · Palette generator →

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