#F9E372#F9E372

#F9E372 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.135 H 98.5°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F9E372
RGBrgb(249, 227, 114)
HSLhsl(50, 92%, 71%)
HSVhsv(50, 54%, 98%)
CMYKcmyk(0%, 8.8%, 54.2%, 2.4%)
CIE-LABlab(90.00, -6.26, 57.14)
CIE-LCHlch(90.00, 57.48, 96.25°)
OKLaboklab(91.16% -0.02 0.1339)
OKLCHoklch(91.16% 0.135 98.5)
XYZxyz(69.5757, 76.2956, 26.9780)
Luminance0.7629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E372 #7288F9
analogous
#F99F72 #F9E372 #CBF972
triadic
#F9E372 #72F9E3 #E372F9
tetradic
#F9E372 #72F99F #7288F9 #F972CB
square
#F9E372 #72F99F #7288F9 #F972CB
split-complementary
#F9E372 #72CBF9 #9F72F9
monochromatic
#E7C30A #F7D737 #F9E372 #FBEFAD #FEF9E2

Accessibility & contrast

On white

1.29
#F9E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F9E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E372
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E372#FFFFFF#000000##000000
##F9E3721.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE67
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e372;
/* rgb */ color: rgb(249, 227, 114);
/* oklch */ color: oklch(91.2% 0.135 98.5);
Tailwind
colors: {
  custom: {
    50: '#feeb9d',
    500: '#f9e372',
    950: '#000000',
  },
}
SCSS
$custom: #f9e372;
$custom-light: #feeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e372",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 50.222,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91163,
    "c": 0.13537,
    "h": 98.5
  },
  "luminance": 0.76293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9E372

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

Preview Lab → · Contrast checker → · Palette generator →

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