#FDF17F#FDF17F

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

Color values

HEX#FDF17F
RGBrgb(253, 241, 127)
HSLhsl(54, 97%, 75%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 4.7%, 49.8%, 0.8%)
CIE-LABlab(94.02, -10.58, 55.97)
CIE-LCHlch(94.02, 56.96, 100.70°)
OKLaboklab(94.48% -0.0312 0.1325)
OKLCHoklch(94.48% 0.136 103.3)
XYZxyz(75.7962, 85.3280, 32.5518)
Luminance0.8533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF17F #7F8BFD
analogous
#FDB27F #FDF17F #CAFD7F
triadic
#FDF17F #7FFDF1 #F17FFD
tetradic
#FDF17F #7FFDB2 #7F8BFD #FD7FCA
square
#FDF17F #7FFDB2 #7F8BFD #FD7FCA
split-complementary
#FDF17F #7FCAFD #B27FFD
monochromatic
#FBE406 #FCEA43 #FDF17F #FEF8BB #FFFCE1

Accessibility & contrast

On white

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

On black

18.07
#FDF17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF17F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF17F#FFFFFF#000000##000000
##FDF17F1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA75
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf17f;
/* rgb */ color: rgb(253, 241, 127);
/* oklch */ color: oklch(94.5% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff5a7',
    500: '#fdf17f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf17f;
$custom-light: #fff5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf17f",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 127
  },
  "hsl": {
    "h": 54.286,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94483,
    "c": 0.13611,
    "h": 103.3
  },
  "luminance": 0.85326
}

Semantic roles & 50–950 ramp

primary
#FDF17F
secondary
#4553DB
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF17F

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

Preview Lab → · Contrast checker → · Palette generator →

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