#F4D471#F4D471

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

Color values

HEX#F4D471
RGBrgb(244, 212, 113)
HSLhsl(45, 86%, 70%)
HSVhsv(45, 54%, 96%)
CMYKcmyk(0%, 13.1%, 53.7%, 4.3%)
CIE-LABlab(85.76, -0.77, 52.52)
CIE-LCHlch(85.76, 52.52, 90.84°)
OKLaboklab(87.71% -0.0039 0.1238)
OKLCHoklch(87.71% 0.124 91.8)
XYZxyz(63.8348, 67.5154, 25.2889)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D471 #7191F4
analogous
#F49371 #F4D471 #D2F471
triadic
#F4D471 #71F4D4 #D471F4
tetradic
#F4D471 #71F493 #7191F4 #F471D2
square
#F4D471 #71F493 #7191F4 #F471D2
split-complementary
#F4D471 #71D2F4 #9371F4
monochromatic
#DAA911 #F0C338 #F4D471 #F8E5AA #FDF6E3

Accessibility & contrast

On white

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

On black

14.50
#F4D471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D471
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D471#FFFFFF#000000##000000
##F4D4711.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4d471;
/* rgb */ color: rgb(244, 212, 113);
/* oklch */ color: oklch(87.7% 0.124 91.8);
Tailwind
colors: {
  custom: {
    50: '#fae19c',
    500: '#f4d471',
    950: '#000000',
  },
}
SCSS
$custom: #f4d471;
$custom-light: #fae19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d471",
  "rgb": {
    "r": 244,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 45.344,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.87709,
    "c": 0.1239,
    "h": 91.8
  },
  "luminance": 0.67512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4D471

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

Preview Lab → · Contrast checker → · Palette generator →

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