#F9E471#F9E471

#F9E471 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.137 H 99.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F9E471
RGBrgb(249, 228, 113)
HSLhsl(51, 92%, 71%)
HSVhsv(51, 55%, 98%)
CMYKcmyk(0%, 8.4%, 54.6%, 2.4%)
CIE-LABlab(90.24, -6.84, 57.88)
CIE-LCHlch(90.24, 58.28, 96.74°)
OKLaboklab(91.35% -0.0217 0.1354)
OKLCHoklch(91.35% 0.137 99.1)
XYZxyz(69.7934, 76.8216, 26.7713)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E471 #7186F9
analogous
#F9A071 #F9E471 #CAF971
triadic
#F9E471 #71F9E4 #E471F9
tetradic
#F9E471 #71F9A0 #7186F9 #F971CA
square
#F9E471 #71F9A0 #7186F9 #F971CA
split-complementary
#F9E471 #71CAF9 #A071F9
monochromatic
#E6C40A #F7D936 #F9E471 #FBEFAC #FEF9E2

Accessibility & contrast

On white

1.28
#F9E471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F9E471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E471
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E471#FFFFFF#000000##000000
##F9E4711.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#FDE676
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e471;
/* rgb */ color: rgb(249, 228, 113);
/* oklch */ color: oklch(91.4% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#feec9d',
    500: '#f9e471',
    950: '#000000',
  },
}
SCSS
$custom: #f9e471;
$custom-light: #feec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e471",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 113
  },
  "hsl": {
    "h": 50.735,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91352,
    "c": 0.13713,
    "h": 99.1
  },
  "luminance": 0.76819
}

Semantic roles & 50–950 ramp

primary
#F9E471
secondary
#3A52D4
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E471

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

Preview Lab → · Contrast checker → · Palette generator →

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