#F9E76F#F9E76F

#F9E76F is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.142 H 100.9°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F9E76F
RGBrgb(249, 231, 111)
HSLhsl(52, 92%, 71%)
HSVhsv(52, 55%, 98%)
CMYKcmyk(0%, 7.2%, 55.4%, 2.4%)
CIE-LABlab(90.98, -8.49, 59.64)
CIE-LCHlch(90.98, 60.24, 98.10°)
OKLaboklab(91.93% -0.0267 0.139)
OKLCHoklch(91.93% 0.142 100.9)
XYZxyz(70.5145, 78.4420, 26.4623)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E76F #6F81F9
analogous
#F9A26F #F9E76F #C6F96F
triadic
#F9E76F #6FF9E7 #E76FF9
tetradic
#F9E76F #6FF9A2 #6F81F9 #F96FC6
square
#F9E76F #6FF9A2 #6F81F9 #F96FC6
split-complementary
#F9E76F #6FC6F9 #A26FF9
monochromatic
#E4C80A #F7DD34 #F9E76F #FBF1AA #FEFAE2

Accessibility & contrast

On white

1.26
#F9E76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F9E76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E76F
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E76F#FFFFFF#000000##000000
##F9E76F1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE163
Deuteranopia (green-blind)
#FFE875
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e76f;
/* rgb */ color: rgb(249, 231, 111);
/* oklch */ color: oklch(91.9% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#feee9c',
    500: '#f9e76f',
    950: '#000000',
  },
}
SCSS
$custom: #f9e76f;
$custom-light: #feee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e76f",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 52.174,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91934,
    "c": 0.14152,
    "h": 100.9
  },
  "luminance": 0.78439
}

Semantic roles & 50–950 ramp

primary
#F9E76F
secondary
#384DD4
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E76F

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

Preview Lab → · Contrast checker → · Palette generator →

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