#FFE996#FFE996

#FFE996 is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.4% C 0.105 H 95.0°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FFE996
RGBrgb(255, 233, 150)
HSLhsl(47, 100%, 79%)
HSVhsv(47, 41%, 100%)
CMYKcmyk(0%, 8.6%, 41.2%, 0%)
CIE-LABlab(92.46, -3.66, 43.02)
CIE-LCHlch(92.46, 43.17, 94.86°)
OKLaboklab(93.38% -0.0093 0.105)
OKLCHoklch(93.38% 0.105 95)
XYZxyz(75.8857, 81.7425, 40.6288)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE996 #96ACFF
analogous
#FFB596 #FFE996 #E0FF96
triadic
#FFE996 #96FFE9 #E996FF
tetradic
#FFE996 #96FFB5 #96ACFF #FF96E0
square
#FFE996 #96FFB5 #96ACFF #FF96E0
split-complementary
#FFE996 #96E0FF #B596FF
monochromatic
#FFCF1C #FFDC59 #FFE996 #FFF6D3 #FFF9E0

Accessibility & contrast

On white

1.21
#FFE996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#FFE996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE996
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE996#FFFFFF#000000##000000
##FFE9961.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#FFEC99
Tritanopia (blue-blind)
#FFDDD4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe996;
/* rgb */ color: rgb(255, 233, 150);
/* oklch */ color: oklch(93.4% 0.105 95.0);
Tailwind
colors: {
  custom: {
    50: '#ffefb6',
    500: '#ffe996',
    950: '#000000',
  },
}
SCSS
$custom: #ffe996;
$custom-light: #ffefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe996",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 150
  },
  "hsl": {
    "h": 47.429,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93379,
    "c": 0.10545,
    "h": 95
  },
  "luminance": 0.8174
}

Semantic roles & 50–950 ramp

primary
#FFE996
secondary
#5875E1
accent
#30E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE996

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

Preview Lab → · Contrast checker → · Palette generator →

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