#FFE96B#FFE96B

#FFE96B is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.8% C 0.147 H 99.5°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#FFE96B
RGBrgb(255, 233, 107)
HSLhsl(51, 100%, 71%)
HSVhsv(51, 58%, 100%)
CMYKcmyk(0%, 8.6%, 58%, 0%)
CIE-LABlab(91.95, -7.35, 62.66)
CIE-LCHlch(91.95, 63.09, 96.69°)
OKLaboklab(92.81% -0.0242 0.1449)
OKLCHoklch(92.81% 0.147 99.5)
XYZxyz(73.0355, 80.6024, 25.6178)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE96B #6B81FF
analogous
#FF9F6B #FFE96B #CBFF6B
triadic
#FFE96B #6BFFE9 #E96BFF
tetradic
#FFE96B #6BFF9F #6B81FF #FF6BCB
square
#FFE96B #6BFF9F #6B81FF #FF6BCB
split-complementary
#FFE96B #6BCBFF #9F6BFF
monochromatic
#F0CC00 #FFE02E #FFE96B #FFF2A8 #FFFAE0

Accessibility & contrast

On white

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

On black

17.12
#FFE96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE96B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE96B#FFFFFF#000000##000000
##FFE96B1.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE35E
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe96b;
/* rgb */ color: rgb(255, 233, 107);
/* oklch */ color: oklch(92.8% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#ffef99',
    500: '#ffe96b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe96b;
$custom-light: #ffef99;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe96b",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 51.081,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92814,
    "c": 0.14691,
    "h": 99.5
  },
  "luminance": 0.80599
}

Semantic roles & 50–950 ramp

primary
#FFE96B
secondary
#334CDB
accent
#22E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19160E
muted
#87857F

Preview Lab

Preview with #FFE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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