#F9E76A#F9E76A

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

Color values

HEX#F9E76A
RGBrgb(249, 231, 106)
HSLhsl(52, 92%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 7.2%, 57.4%, 2.4%)
CIE-LABlab(90.93, -8.85, 61.81)
CIE-LCHlch(90.93, 62.44, 98.15°)
OKLaboklab(91.88% -0.0283 0.1431)
OKLCHoklch(91.88% 0.146 101.2)
XYZxyz(70.2469, 78.3349, 25.0528)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E76A #6A7CF9
analogous
#F9A06A #F9E76A #C3F96A
triadic
#F9E76A #6AF9E7 #E76AF9
tetradic
#F9E76A #6AF9A0 #6A7CF9 #F96AC3
square
#F9E76A #6AF9A0 #6A7CF9 #F96AC3
split-complementary
#F9E76A #6AC3F9 #A06AF9
monochromatic
#E0C509 #F7DE2F #F9E76A #FBF0A5 #FEFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E76A#FFFFFF#000000##000000
##F9E76A1.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)
#FAE15D
Deuteranopia (green-blind)
#FFE870
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e76a;
/* rgb */ color: rgb(249, 231, 106);
/* oklch */ color: oklch(91.9% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#feee99',
    500: '#f9e76a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e76a;
$custom-light: #feee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e76a",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 52.448,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9188,
    "c": 0.14585,
    "h": 101.2
  },
  "luminance": 0.78332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9E76A

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

Preview Lab → · Contrast checker → · Palette generator →

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