#F9E976#F9E976

#F9E976 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.137 H 101.5°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#F9E976
RGBrgb(249, 233, 118)
HSLhsl(53, 92%, 72%)
HSVhsv(53, 53%, 98%)
CMYKcmyk(0%, 6.4%, 52.6%, 2.4%)
CIE-LABlab(91.56, -8.94, 57.13)
CIE-LCHlch(91.56, 57.83, 98.90°)
OKLaboklab(92.42% -0.0273 0.1343)
OKLCHoklch(92.42% 0.137 101.5)
XYZxyz(71.4781, 79.7281, 28.7599)
Luminance0.7973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E976 #7686F9
analogous
#F9A876 #F9E976 #C7F976
triadic
#F9E976 #76F9E9 #E976F9
tetradic
#F9E976 #76F9A8 #7686F9 #F976C7
square
#F9E976 #76F9A8 #7686F9 #F976C7
split-complementary
#F9E976 #76C7F9 #A876F9
monochromatic
#EACF0A #F6E03B #F9E976 #FCF2B1 #FEFAE2

Accessibility & contrast

On white

1.24
#F9E976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#F9E976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E976
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E976#FFFFFF#000000##000000
##F9E9761.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36B
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e976;
/* rgb */ color: rgb(249, 233, 118);
/* oklch */ color: oklch(92.4% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#feefa0',
    500: '#f9e976',
    950: '#000000',
  },
}
SCSS
$custom: #f9e976;
$custom-light: #feefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e976",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 118
  },
  "hsl": {
    "h": 52.672,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92419,
    "c": 0.13701,
    "h": 101.5
  },
  "luminance": 0.79726
}

Semantic roles & 50–950 ramp

primary
#F9E976
secondary
#3E51D5
accent
#1CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E976

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

Preview Lab → · Contrast checker → · Palette generator →

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