#F9E371#F9E371

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

Color values

HEX#F9E371
RGBrgb(249, 227, 113)
HSLhsl(50, 92%, 71%)
HSVhsv(50, 55%, 98%)
CMYKcmyk(0%, 8.8%, 54.6%, 2.4%)
CIE-LABlab(89.99, -6.34, 57.58)
CIE-LCHlch(89.99, 57.93, 96.28°)
OKLaboklab(91.15% -0.0203 0.1348)
OKLCHoklch(91.15% 0.136 98.6)
XYZxyz(69.5191, 76.2730, 26.6798)
Luminance0.7627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E371 #7187F9
analogous
#F99F71 #F9E371 #CBF971
triadic
#F9E371 #71F9E3 #E371F9
tetradic
#F9E371 #71F99F #7187F9 #F971CB
square
#F9E371 #71F99F #7187F9 #F971CB
split-complementary
#F9E371 #71CBF9 #9F71F9
monochromatic
#E6C20A #F7D736 #F9E371 #FBEFAC #FEF9E2

Accessibility & contrast

On white

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

On black

16.25
#F9E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E371
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E371#FFFFFF#000000##000000
##F9E3711.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e371;
/* rgb */ color: rgb(249, 227, 113);
/* oklch */ color: oklch(91.2% 0.136 98.6);
Tailwind
colors: {
  custom: {
    50: '#feeb9d',
    500: '#f9e371',
    950: '#000000',
  },
}
SCSS
$custom: #f9e371;
$custom-light: #feeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e371",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 50.294,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91152,
    "c": 0.13627,
    "h": 98.6
  },
  "luminance": 0.7627
}

Semantic roles & 50–950 ramp

primary
#F9E371
secondary
#3A53D4
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E371

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

Preview Lab → · Contrast checker → · Palette generator →

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