#FDF478#FDF478

#FDF478 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.39:1 contrast (WCAG AA passes).

Color values

HEX#FDF478
RGBrgb(253, 244, 120)
HSLhsl(56, 97%, 73%)
HSVhsv(56, 53%, 99%)
CMYKcmyk(0%, 3.6%, 52.6%, 0.8%)
CIE-LABlab(94.71, -12.62, 59.98)
CIE-LCHlch(94.71, 61.29, 101.88°)
OKLaboklab(95.01% -0.0378 0.1406)
OKLCHoklch(95.01% 0.146 105.1)
XYZxyz(76.2511, 86.9424, 30.5306)
Luminance0.8694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF478 #7881FD
analogous
#FDB178 #FDF478 #C3FD78
triadic
#FDF478 #78FDF4 #F478FD
tetradic
#FDF478 #78FDB1 #7881FD #FD78C3
square
#FDF478 #78FDB1 #7881FD #FD78C3
split-complementary
#FDF478 #78C3FD #B178FD
monochromatic
#F7E604 #FCEF3C #FDF478 #FEF9B4 #FFFDE1

Accessibility & contrast

On white

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

On black

18.39
#FDF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF478
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF478#FFFFFF#000000##000000
##FDF4781.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf478;
/* rgb */ color: rgb(253, 244, 120);
/* oklch */ color: oklch(95.0% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff7a2',
    500: '#fdf478',
    950: '#000000',
  },
}
SCSS
$custom: #fdf478;
$custom-light: #fff7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf478",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 55.94,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95006,
    "c": 0.14557,
    "h": 105.1
  },
  "luminance": 0.8694
}

Semantic roles & 50–950 ramp

primary
#FDF478
secondary
#3F49DA
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF478

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

Preview Lab → · Contrast checker → · Palette generator →

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