#FDF474#FDF474

#FDF474 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.149 H 105.2°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FDF474
RGBrgb(253, 244, 116)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 54%, 99%)
CMYKcmyk(0%, 3.6%, 54.2%, 0.8%)
CIE-LABlab(94.67, -12.93, 61.73)
CIE-LCHlch(94.67, 63.07, 101.83°)
OKLaboklab(94.96% -0.0391 0.1439)
OKLCHoklch(94.96% 0.149 105.2)
XYZxyz(76.0134, 86.8474, 29.2787)
Luminance0.8685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF474 #747DFD
analogous
#FDAF74 #FDF474 #C2FD74
triadic
#FDF474 #74FDF4 #F474FD
tetradic
#FDF474 #74FDAF #747DFD #FD74C2
square
#FDF474 #74FDAF #747DFD #FD74C2
split-complementary
#FDF474 #74C2FD #AF74FD
monochromatic
#F3E303 #FCEF38 #FDF474 #FEF9B0 #FFFDE1

Accessibility & contrast

On white

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

On black

18.37
#FDF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF474
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF474#FFFFFF#000000##000000
##FDF4741.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf474;
/* rgb */ color: rgb(253, 244, 116);
/* oklch */ color: oklch(95.0% 0.149 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff7a0',
    500: '#fdf474',
    950: '#000000',
  },
}
SCSS
$custom: #fdf474;
$custom-light: #fff7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf474",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 56.058,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94961,
    "c": 0.14915,
    "h": 105.2
  },
  "luminance": 0.86845
}

Semantic roles & 50–950 ramp

primary
#FDF474
secondary
#3B46DA
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF474

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

Preview Lab → · Contrast checker → · Palette generator →

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