#F9E476#F9E476

#F9E476 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.133 H 98.7°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F9E476
RGBrgb(249, 228, 118)
HSLhsl(50, 92%, 72%)
HSVhsv(50, 53%, 98%)
CMYKcmyk(0%, 8.4%, 52.6%, 2.4%)
CIE-LABlab(90.29, -6.45, 55.64)
CIE-LCHlch(90.29, 56.01, 96.61°)
OKLaboklab(91.41% -0.0201 0.131)
OKLCHoklch(91.41% 0.133 98.7)
XYZxyz(70.0827, 76.9373, 28.2948)
Luminance0.7693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E476 #768BF9
analogous
#F9A376 #F9E476 #CCF976
triadic
#F9E476 #76F9E4 #E476F9
tetradic
#F9E476 #76F9A3 #768BF9 #F976CC
square
#F9E476 #76F9A3 #768BF9 #F976CC
split-complementary
#F9E476 #76CCF9 #A376F9
monochromatic
#EAC60A #F6D83B #F9E476 #FCF0B1 #FEF9E2

Accessibility & contrast

On white

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

On black

16.39
#F9E476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E476
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E476#FFFFFF#000000##000000
##F9E4761.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6C
Deuteranopia (green-blind)
#FCE77B
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e476;
/* rgb */ color: rgb(249, 228, 118);
/* oklch */ color: oklch(91.4% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#feeca0',
    500: '#f9e476',
    950: '#000000',
  },
}
SCSS
$custom: #f9e476;
$custom-light: #feeca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e476",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 118
  },
  "hsl": {
    "h": 50.382,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91412,
    "c": 0.13255,
    "h": 98.7
  },
  "luminance": 0.76935
}

Semantic roles & 50–950 ramp

primary
#F9E476
secondary
#3E56D5
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E476

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

Preview Lab → · Contrast checker → · Palette generator →

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