#F9E776#F9E776

#F9E776 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.135 H 100.4°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F9E776
RGBrgb(249, 231, 118)
HSLhsl(52, 92%, 72%)
HSVhsv(52, 53%, 98%)
CMYKcmyk(0%, 7.2%, 52.6%, 2.4%)
CIE-LABlab(91.05, -7.95, 56.53)
CIE-LCHlch(91.05, 57.09, 98.00°)
OKLaboklab(92.02% -0.0244 0.133)
OKLCHoklch(92.02% 0.135 100.4)
XYZxyz(70.9152, 78.6022, 28.5723)
Luminance0.7860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E776 #7688F9
analogous
#F9A676 #F9E776 #C9F976
triadic
#F9E776 #76F9E7 #E776F9
tetradic
#F9E776 #76F9A6 #7688F9 #F976C9
square
#F9E776 #76F9A6 #7688F9 #F976C9
split-complementary
#F9E776 #76C9F9 #A676F9
monochromatic
#EACC0A #F6DD3B #F9E776 #FCF1B1 #FEFAE2

Accessibility & contrast

On white

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

On black

16.72
#F9E776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E776
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E776#FFFFFF#000000##000000
##F9E7761.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16B
Deuteranopia (green-blind)
#FEE97B
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e776;
/* rgb */ color: rgb(249, 231, 118);
/* oklch */ color: oklch(92.0% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#feeea0',
    500: '#f9e776',
    950: '#000000',
  },
}
SCSS
$custom: #f9e776;
$custom-light: #feeea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e776",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 118
  },
  "hsl": {
    "h": 51.756,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92015,
    "c": 0.13519,
    "h": 100.4
  },
  "luminance": 0.786
}

Semantic roles & 50–950 ramp

primary
#F9E776
secondary
#3E53D5
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E776

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

Preview Lab → · Contrast checker → · Palette generator →

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