#FFE96F#FFE96F

#FFE96F is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.9% C 0.143 H 99.2°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#FFE96F
RGBrgb(255, 233, 111)
HSLhsl(51, 100%, 72%)
HSVhsv(51, 56%, 100%)
CMYKcmyk(0%, 8.6%, 56.5%, 0%)
CIE-LABlab(91.99, -7.07, 60.93)
CIE-LCHlch(91.99, 61.34, 96.62°)
OKLaboklab(92.86% -0.023 0.1416)
OKLCHoklch(92.86% 0.143 99.2)
XYZxyz(73.2509, 80.6885, 26.7518)
Luminance0.8069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE96F #6F85FF
analogous
#FFA16F #FFE96F #CDFF6F
triadic
#FFE96F #6FFFE9 #E96FFF
tetradic
#FFE96F #6FFFA1 #6F85FF #FF6FCD
square
#FFE96F #6FFFA1 #6F85FF #FF6FCD
split-complementary
#FFE96F #6FCDFF #A16FFF
monochromatic
#F4CE00 #FFE032 #FFE96F #FFF2AC #FFFAE0

Accessibility & contrast

On white

1.23
#FFE96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#FFE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE96F
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE96F#FFFFFF#000000##000000
##FFE96F1.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE363
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe96f;
/* rgb */ color: rgb(255, 233, 111);
/* oklch */ color: oklch(92.9% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#ffef9c',
    500: '#ffe96f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe96f;
$custom-light: #ffef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe96f",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 50.833,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92856,
    "c": 0.14349,
    "h": 99.2
  },
  "luminance": 0.80686
}

Semantic roles & 50–950 ramp

primary
#FFE96F
secondary
#3750DC
accent
#23E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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