#FDF17C#FDF17C

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

Color values

HEX#FDF17C
RGBrgb(253, 241, 124)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 4.7%, 51%, 0.8%)
CIE-LABlab(93.99, -10.83, 57.31)
CIE-LCHlch(93.99, 58.33, 100.70°)
OKLaboklab(94.45% -0.0323 0.1352)
OKLCHoklch(94.45% 0.139 103.4)
XYZxyz(75.6036, 85.2509, 31.5374)
Luminance0.8525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF17C #7C88FD
analogous
#FDB17C #FDF17C #C8FD7C
triadic
#FDF17C #7CFDF1 #F17CFD
tetradic
#FDF17C #7CFDB1 #7C88FD #FD7CC8
square
#FDF17C #7CFDB1 #7C88FD #FD7CC8
split-complementary
#FDF17C #7CC8FD #B17CFD
monochromatic
#FBE404 #FCEB40 #FDF17C #FEF7B8 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF17C#FFFFFF#000000##000000
##FDF17C1.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)
#FFEA71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf17c;
/* rgb */ color: rgb(253, 241, 124);
/* oklch */ color: oklch(94.4% 0.139 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fdf17c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf17c;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf17c",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 54.419,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94446,
    "c": 0.13895,
    "h": 103.4
  },
  "luminance": 0.85248
}

Semantic roles & 50–950 ramp

primary
#FDF17C
secondary
#4250DB
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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