#F9E472#F9E472

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

Color values

HEX#F9E472
RGBrgb(249, 228, 114)
HSLhsl(51, 92%, 71%)
HSVhsv(51, 54%, 98%)
CMYKcmyk(0%, 8.4%, 54.2%, 2.4%)
CIE-LABlab(90.25, -6.76, 57.43)
CIE-LCHlch(90.25, 57.83, 96.72°)
OKLaboklab(91.36% -0.0214 0.1345)
OKLCHoklch(91.36% 0.136 99)
XYZxyz(69.8500, 76.8442, 27.0694)
Luminance0.7684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E472 #7287F9
analogous
#F9A072 #F9E472 #CAF972
triadic
#F9E472 #72F9E4 #E472F9
tetradic
#F9E472 #72F9A0 #7287F9 #F972CA
square
#F9E472 #72F9A0 #7287F9 #F972CA
split-complementary
#F9E472 #72CAF9 #A072F9
monochromatic
#E7C40A #F7D937 #F9E472 #FBEFAD #FEF9E2

Accessibility & contrast

On white

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

On black

16.37
#F9E472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E472
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E472#FFFFFF#000000##000000
##F9E4721.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e472;
/* rgb */ color: rgb(249, 228, 114);
/* oklch */ color: oklch(91.4% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#feec9d',
    500: '#f9e472',
    950: '#000000',
  },
}
SCSS
$custom: #f9e472;
$custom-light: #feec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e472",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 50.667,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91364,
    "c": 0.13622,
    "h": 99
  },
  "luminance": 0.76841
}

Semantic roles & 50–950 ramp

primary
#F9E472
secondary
#3B53D4
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E472

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

Preview Lab → · Contrast checker → · Palette generator →

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