#FFE96C#FFE96C

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

Color values

HEX#FFE96C
RGBrgb(255, 233, 108)
HSLhsl(51, 100%, 71%)
HSVhsv(51, 58%, 100%)
CMYKcmyk(0%, 8.6%, 57.6%, 0%)
CIE-LABlab(91.96, -7.28, 62.23)
CIE-LCHlch(91.96, 62.65, 96.68°)
OKLaboklab(92.82% -0.0239 0.1441)
OKLCHoklch(92.82% 0.146 99.4)
XYZxyz(73.0884, 80.6236, 25.8964)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE96C #6C82FF
analogous
#FF9F6C #FFE96C #CCFF6C
triadic
#FFE96C #6CFFE9 #E96CFF
tetradic
#FFE96C #6CFF9F #6C82FF #FF6CCC
square
#FFE96C #6CFF9F #6C82FF #FF6CCC
split-complementary
#FFE96C #6CCCFF #9F6CFF
monochromatic
#F1CD00 #FFE02F #FFE96C #FFF2A9 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE96C#FFFFFF#000000##000000
##FFE96C1.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)
#FDE35F
Deuteranopia (green-blind)
#FFEC72
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe96c;
/* rgb */ color: rgb(255, 233, 108);
/* oklch */ color: oklch(92.8% 0.146 99.4);
Tailwind
colors: {
  custom: {
    50: '#ffef9a',
    500: '#ffe96c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe96c;
$custom-light: #ffef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe96c",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 51.02,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92824,
    "c": 0.14605,
    "h": 99.4
  },
  "luminance": 0.80621
}

Semantic roles & 50–950 ramp

primary
#FFE96C
secondary
#344DDB
accent
#22E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFE96C

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

Preview Lab → · Contrast checker → · Palette generator →

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