#FDF17A#FDF17A

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

Color values

HEX#FDF17A
RGBrgb(253, 241, 122)
HSLhsl(55, 97%, 74%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4.7%, 51.8%, 0.8%)
CIE-LABlab(93.97, -10.99, 58.20)
CIE-LCHlch(93.97, 59.23, 100.69°)
OKLaboklab(94.42% -0.0329 0.1369)
OKLCHoklch(94.42% 0.141 103.5)
XYZxyz(75.4784, 85.2009, 30.8781)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF17A #7A86FD
analogous
#FDAF7A #FDF17A #C7FD7A
triadic
#FDF17A #7AFDF1 #F17AFD
tetradic
#FDF17A #7AFDAF #7A86FD #FD7AC7
square
#FDF17A #7AFDAF #7A86FD #FD7AC7
split-complementary
#FDF17A #7AC7FD #AF7AFD
monochromatic
#F9E204 #FCEB3E #FDF17A #FEF7B6 #FFFCE1

Accessibility & contrast

On white

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

On black

18.04
#FDF17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF17A
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF17A#FFFFFF#000000##000000
##FDF17A1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf17a;
/* rgb */ color: rgb(253, 241, 122);
/* oklch */ color: oklch(94.4% 0.141 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff5a3',
    500: '#fdf17a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf17a;
$custom-light: #fff5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf17a",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 54.504,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94421,
    "c": 0.14082,
    "h": 103.5
  },
  "luminance": 0.85198
}

Semantic roles & 50–950 ramp

primary
#FDF17A
secondary
#414FDB
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF17A

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

Preview Lab → · Contrast checker → · Palette generator →

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