#FDF470#FDF470

#FDF470 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.153 H 105.3°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FDF470
RGBrgb(253, 244, 112)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 56%, 99%)
CMYKcmyk(0%, 3.6%, 55.7%, 0.8%)
CIE-LABlab(94.63, -13.23, 63.45)
CIE-LCHlch(94.63, 64.81, 101.78°)
OKLaboklab(94.92% -0.0404 0.1472)
OKLCHoklch(94.92% 0.153 105.3)
XYZxyz(75.7857, 86.7563, 28.0796)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF470 #7079FD
analogous
#FDAE70 #FDF470 #C0FD70
triadic
#FDF470 #70FDF4 #F470FD
tetradic
#FDF470 #70FDAE #7079FD #FD70C0
square
#FDF470 #70FDAE #7079FD #FD70C0
split-complementary
#FDF470 #70C0FD #AE70FD
monochromatic
#EFE003 #FCEF34 #FDF470 #FEF9AC #FFFDE1

Accessibility & contrast

On white

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

On black

18.35
#FDF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF470
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF470#FFFFFF#000000##000000
##FDF4701.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf470;
/* rgb */ color: rgb(253, 244, 112);
/* oklch */ color: oklch(94.9% 0.153 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff79d',
    500: '#fdf470',
    950: '#000000',
  },
}
SCSS
$custom: #fdf470;
$custom-light: #fff79d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf470",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 56.17,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94918,
    "c": 0.15263,
    "h": 105.3
  },
  "luminance": 0.86754
}

Semantic roles & 50–950 ramp

primary
#FDF470
secondary
#3842D9
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF470

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

Preview Lab → · Contrast checker → · Palette generator →

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