#F9E76B#F9E76B

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

Color values

HEX#F9E76B
RGBrgb(249, 231, 107)
HSLhsl(52, 92%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 7.2%, 57%, 2.4%)
CIE-LABlab(90.94, -8.78, 61.38)
CIE-LCHlch(90.94, 62.01, 98.14°)
OKLaboklab(91.89% -0.028 0.1423)
OKLCHoklch(91.89% 0.145 101.1)
XYZxyz(70.2992, 78.3558, 25.3282)
Luminance0.7835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E76B #6B7DF9
analogous
#F9A06B #F9E76B #C4F96B
triadic
#F9E76B #6BF9E7 #E76BF9
tetradic
#F9E76B #6BF9A0 #6B7DF9 #F96BC4
square
#F9E76B #6BF9A0 #6B7DF9 #F96BC4
split-complementary
#F9E76B #6BC4F9 #A06BF9
monochromatic
#E0C509 #F7DD30 #F9E76B #FBF1A6 #FEFAE1

Accessibility & contrast

On white

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

On black

16.67
#F9E76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E76B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E76B#FFFFFF#000000##000000
##F9E76B1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e76b;
/* rgb */ color: rgb(249, 231, 107);
/* oklch */ color: oklch(91.9% 0.145 101.1);
Tailwind
colors: {
  custom: {
    50: '#feee99',
    500: '#f9e76b',
    950: '#000000',
  },
}
SCSS
$custom: #f9e76b;
$custom-light: #feee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e76b",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 52.394,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9189,
    "c": 0.145,
    "h": 101.1
  },
  "luminance": 0.78353
}

Semantic roles & 50–950 ramp

primary
#F9E76B
secondary
#3549D3
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E76B

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

Preview Lab → · Contrast checker → · Palette generator →

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