#F9E96C#F9E96C

#F9E96C is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.3% C 0.146 H 102.1°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F9E96C
RGBrgb(249, 233, 108)
HSLhsl(53, 92%, 70%)
HSVhsv(53, 57%, 98%)
CMYKcmyk(0%, 6.4%, 56.6%, 2.4%)
CIE-LABlab(91.46, -9.70, 61.53)
CIE-LCHlch(91.46, 62.29, 98.96°)
OKLaboklab(92.31% -0.0305 0.1427)
OKLCHoklch(92.31% 0.146 102.1)
XYZxyz(70.9151, 79.5029, 25.7946)
Luminance0.7950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E96C #6C7CF9
analogous
#F9A26C #F9E96C #C3F96C
triadic
#F9E96C #6CF9E9 #E96CF9
tetradic
#F9E96C #6CF9A2 #6C7CF9 #F96CC3
square
#F9E96C #6CF9A2 #6C7CF9 #F96CC3
split-complementary
#F9E96C #6CC3F9 #A26CF9
monochromatic
#E1C909 #F7E031 #F9E96C #FBF2A7 #FEFBE2

Accessibility & contrast

On white

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

On black

16.90
#F9E96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E96C
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E96C#FFFFFF#000000##000000
##F9E96C1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25F
Deuteranopia (green-blind)
#FFEA72
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e96c;
/* rgb */ color: rgb(249, 233, 108);
/* oklch */ color: oklch(92.3% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#feef9a',
    500: '#f9e96c',
    950: '#000000',
  },
}
SCSS
$custom: #f9e96c;
$custom-light: #feef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e96c",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 53.191,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.92305,
    "c": 0.14593,
    "h": 102.1
  },
  "luminance": 0.795
}

Semantic roles & 50–950 ramp

primary
#F9E96C
secondary
#3648D4
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9E96C

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

Preview Lab → · Contrast checker → · Palette generator →

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