#FFF472#FFF472

#FFF472 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.151 H 104.4°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#FFF472
RGBrgb(255, 244, 114)
HSLhsl(55, 100%, 72%)
HSVhsv(55, 55%, 100%)
CMYKcmyk(0%, 4.3%, 55.3%, 0%)
CIE-LABlab(94.81, -12.28, 62.81)
CIE-LCHlch(94.81, 64.00, 101.07°)
OKLaboklab(95.1% -0.0376 0.146)
OKLCHoklch(95.1% 0.151 104.4)
XYZxyz(76.6304, 87.1788, 28.7069)
Luminance0.8718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF472 #727DFF
analogous
#FFAD72 #FFF472 #C4FF72
triadic
#FFF472 #72FFF4 #F472FF
tetradic
#FFF472 #72FFAD #727DFF #FF72C4
square
#FFF472 #72FFAD #727DFF #FF72C4
split-complementary
#FFF472 #72C4FF #AD72FF
monochromatic
#F7E300 #FFEF35 #FFF472 #FFF9AF #FFFDE0

Accessibility & contrast

On white

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

On black

18.44
#FFF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF472
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF472#FFFFFF#000000##000000
##FFF4721.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff472;
/* rgb */ color: rgb(255, 244, 114);
/* oklch */ color: oklch(95.1% 0.151 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff79e',
    500: '#fff472',
    950: '#000000',
  },
}
SCSS
$custom: #fff472;
$custom-light: #fff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff472",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 55.319,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95105,
    "c": 0.15079,
    "h": 104.4
  },
  "luminance": 0.87176
}

Semantic roles & 50–950 ramp

primary
#FFF472
secondary
#3946DC
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF472

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

Preview Lab → · Contrast checker → · Palette generator →

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