#F4D472#F4D472

#F4D472 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.7% C 0.123 H 91.7°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F4D472
RGBrgb(244, 212, 114)
HSLhsl(45, 86%, 70%)
HSVhsv(45, 53%, 96%)
CMYKcmyk(0%, 13.1%, 53.3%, 4.3%)
CIE-LABlab(85.77, -0.69, 52.05)
CIE-LCHlch(85.77, 52.06, 90.76°)
OKLaboklab(87.72% -0.0036 0.1229)
OKLCHoklch(87.72% 0.123 91.7)
XYZxyz(63.8915, 67.5380, 25.5871)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D472 #7292F4
analogous
#F49372 #F4D472 #D3F472
triadic
#F4D472 #72F4D4 #D472F4
tetradic
#F4D472 #72F493 #7292F4 #F472D3
square
#F4D472 #72F493 #7292F4 #F472D3
split-complementary
#F4D472 #72D3F4 #9372F4
monochromatic
#DBA911 #F0C339 #F4D472 #F8E5AB #FDF6E3

Accessibility & contrast

On white

1.45
#F4D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F4D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D472
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D472#FFFFFF#000000##000000
##F4D4721.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D169
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f4d472;
/* rgb */ color: rgb(244, 212, 114);
/* oklch */ color: oklch(87.7% 0.123 91.7);
Tailwind
colors: {
  custom: {
    50: '#fae19d',
    500: '#f4d472',
    950: '#000000',
  },
}
SCSS
$custom: #f4d472;
$custom-light: #fae19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d472",
  "rgb": {
    "r": 244,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 45.231,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87722,
    "c": 0.12297,
    "h": 91.7
  },
  "luminance": 0.67535
}

Semantic roles & 50–950 ramp

primary
#F4D472
secondary
#3C60CE
accent
#3AE203
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F4D472

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

Preview Lab → · Contrast checker → · Palette generator →

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