#FDF477#FDF477

#FDF477 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 95.0% C 0.146 H 105.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FDF477
RGBrgb(253, 244, 119)
HSLhsl(56, 97%, 73%)
HSVhsv(56, 53%, 99%)
CMYKcmyk(0%, 3.6%, 53%, 0.8%)
CIE-LABlab(94.70, -12.70, 60.42)
CIE-LCHlch(94.70, 61.74, 101.87°)
OKLaboklab(94.99% -0.0382 0.1414)
OKLCHoklch(94.99% 0.146 105.1)
XYZxyz(76.1907, 86.9183, 30.2126)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF477 #7780FD
analogous
#FDB177 #FDF477 #C3FD77
triadic
#FDF477 #77FDF4 #F477FD
tetradic
#FDF477 #77FDB1 #7780FD #FD77C3
square
#FDF477 #77FDB1 #7780FD #FD77C3
split-complementary
#FDF477 #77C3FD #B177FD
monochromatic
#F6E604 #FCEF3B #FDF477 #FEF9B3 #FFFDE1

Accessibility & contrast

On white

1.14
#FDF477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#FDF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF477
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF477#FFFFFF#000000##000000
##FDF4771.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf477;
/* rgb */ color: rgb(253, 244, 119);
/* oklch */ color: oklch(95.0% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff7a1',
    500: '#fdf477',
    950: '#000000',
  },
}
SCSS
$custom: #fdf477;
$custom-light: #fff7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf477",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 55.97,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94995,
    "c": 0.14648,
    "h": 105.1
  },
  "luminance": 0.86916
}

Semantic roles & 50–950 ramp

primary
#FDF477
secondary
#3E48DA
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF477

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

Preview Lab → · Contrast checker → · Palette generator →

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