#FDF17D#FDF17D

#FDF17D is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.5% C 0.138 H 103.4°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FDF17D
RGBrgb(253, 241, 125)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 4.7%, 50.6%, 0.8%)
CIE-LABlab(94.00, -10.74, 56.86)
CIE-LCHlch(94.00, 57.87, 100.70°)
OKLaboklab(94.46% -0.0319 0.1343)
OKLCHoklch(94.46% 0.138 103.4)
XYZxyz(75.6671, 85.2764, 31.8722)
Luminance0.8527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF17D #7D89FD
analogous
#FDB17D #FDF17D #C9FD7D
triadic
#FDF17D #7DFDF1 #F17DFD
tetradic
#FDF17D #7DFDB1 #7D89FD #FD7DC9
square
#FDF17D #7DFDB1 #7D89FD #FD7DC9
split-complementary
#FDF17D #7DC9FD #B17DFD
monochromatic
#FBE404 #FCEB41 #FDF17D #FEF7B9 #FFFCE1

Accessibility & contrast

On white

1.16
#FDF17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#FDF17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF17D
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF17D#FFFFFF#000000##000000
##FDF17D1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf17d;
/* rgb */ color: rgb(253, 241, 125);
/* oklch */ color: oklch(94.5% 0.138 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fdf17d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf17d;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf17d",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 54.375,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94458,
    "c": 0.13801,
    "h": 103.4
  },
  "luminance": 0.85274
}

Semantic roles & 50–950 ramp

primary
#FDF17D
secondary
#4351DB
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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