#F9E76C#F9E76C

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

Color values

HEX#F9E76C
RGBrgb(249, 231, 108)
HSLhsl(52, 92%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 7.2%, 56.6%, 2.4%)
CIE-LABlab(90.95, -8.71, 60.95)
CIE-LCHlch(90.95, 61.57, 98.13°)
OKLaboklab(91.9% -0.0277 0.1415)
OKLCHoklch(91.9% 0.144 101.1)
XYZxyz(70.3521, 78.3770, 25.6069)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E76C #6C7EF9
analogous
#F9A06C #F9E76C #C5F96C
triadic
#F9E76C #6CF9E7 #E76CF9
tetradic
#F9E76C #6CF9A0 #6C7EF9 #F96CC5
square
#F9E76C #6CF9A0 #6C7EF9 #F96CC5
split-complementary
#F9E76C #6CC5F9 #A06CF9
monochromatic
#E1C609 #F7DD31 #F9E76C #FBF1A7 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E76C#FFFFFF#000000##000000
##F9E76C1.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)
#FAE15F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e76c;
/* rgb */ color: rgb(249, 231, 108);
/* oklch */ color: oklch(91.9% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#feee9a',
    500: '#f9e76c',
    950: '#000000',
  },
}
SCSS
$custom: #f9e76c;
$custom-light: #feee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e76c",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 52.34,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.91901,
    "c": 0.14414,
    "h": 101.1
  },
  "luminance": 0.78374
}

Semantic roles & 50–950 ramp

primary
#F9E76C
secondary
#364AD4
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E76C

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

Preview Lab → · Contrast checker → · Palette generator →

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