#F9D96F#F9D96F

#F9D96F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.130 H 92.8°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F9D96F
RGBrgb(249, 217, 111)
HSLhsl(46, 92%, 71%)
HSVhsv(46, 55%, 98%)
CMYKcmyk(0%, 12.9%, 55.4%, 2.4%)
CIE-LABlab(87.44, -1.44, 55.55)
CIE-LCHlch(87.44, 55.56, 91.49°)
OKLaboklab(89.13% -0.0064 0.1301)
OKLCHoklch(89.13% 0.13 92.8)
XYZxyz(66.7517, 70.9163, 25.2080)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D96F #6F8FF9
analogous
#F9946F #F9D96F #D4F96F
triadic
#F9D96F #6FF9D9 #D96FF9
tetradic
#F9D96F #6FF994 #6F8FF9 #F96FD4
square
#F9D96F #6FF994 #6F8FF9 #F96FD4
split-complementary
#F9D96F #6FD4F9 #946FF9
monochromatic
#E4B10A #F7C934 #F9D96F #FBE9AA #FEF7E2

Accessibility & contrast

On white

1.38
#F9D96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F9D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D96F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D96F#FFFFFF#000000##000000
##F9D96F1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD665
Deuteranopia (green-blind)
#F5DF73
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d96f;
/* rgb */ color: rgb(249, 217, 111);
/* oklch */ color: oklch(89.1% 0.130 92.8);
Tailwind
colors: {
  custom: {
    50: '#fee49b',
    500: '#f9d96f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d96f;
$custom-light: #fee49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d96f",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 46.087,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89134,
    "c": 0.13029,
    "h": 92.8
  },
  "luminance": 0.70913
}

Semantic roles & 50–950 ramp

primary
#F9D96F
secondary
#385CD4
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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