#F9D96C#F9D96C

#F9D96C is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.1% C 0.133 H 93.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F9D96C
RGBrgb(249, 217, 108)
HSLhsl(46, 92%, 70%)
HSVhsv(46, 57%, 98%)
CMYKcmyk(0%, 12.9%, 56.6%, 2.4%)
CIE-LABlab(87.41, -1.67, 56.90)
CIE-LCHlch(87.41, 56.92, 91.68°)
OKLaboklab(89.1% -0.0074 0.1327)
OKLCHoklch(89.1% 0.133 93.2)
XYZxyz(66.5893, 70.8514, 24.3526)
Luminance0.7085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D96C #6C8CF9
analogous
#F9936C #F9D96C #D2F96C
triadic
#F9D96C #6CF9D9 #D96CF9
tetradic
#F9D96C #6CF993 #6C8CF9 #F96CD2
square
#F9D96C #6CF993 #6C8CF9 #F96CD2
split-complementary
#F9D96C #6CD2F9 #936CF9
monochromatic
#E1B009 #F7CA31 #F9D96C #FBE8A7 #FEF7E2

Accessibility & contrast

On white

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

On black

15.17
#F9D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D96C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D96C#FFFFFF#000000##000000
##F9D96C1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F5DF71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d96c;
/* rgb */ color: rgb(249, 217, 108);
/* oklch */ color: oklch(89.1% 0.133 93.2);
Tailwind
colors: {
  custom: {
    50: '#fee499',
    500: '#f9d96c',
    950: '#000000',
  },
}
SCSS
$custom: #f9d96c;
$custom-light: #fee499;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d96c",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 46.383,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.89099,
    "c": 0.13295,
    "h": 93.2
  },
  "luminance": 0.70848
}

Semantic roles & 50–950 ramp

primary
#F9D96C
secondary
#3659D4
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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