#FFE896#FFE896

#FFE896 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.2% C 0.105 H 94.3°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#FFE896
RGBrgb(255, 232, 150)
HSLhsl(47, 100%, 79%)
HSVhsv(47, 41%, 100%)
CMYKcmyk(0%, 9%, 41.2%, 0%)
CIE-LABlab(92.21, -3.15, 42.70)
CIE-LCHlch(92.21, 42.81, 94.22°)
OKLaboklab(93.18% -0.0078 0.1043)
OKLCHoklch(93.18% 0.105 94.3)
XYZxyz(75.6034, 81.1779, 40.5347)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE896 #96ADFF
analogous
#FFB496 #FFE896 #E2FF96
triadic
#FFE896 #96FFE8 #E896FF
tetradic
#FFE896 #96FFB4 #96ADFF #FF96E2
square
#FFE896 #96FFB4 #96ADFF #FF96E2
split-complementary
#FFE896 #96E2FF #B496FF
monochromatic
#FFCD1C #FFDB59 #FFE896 #FFF5D3 #FFF8E0

Accessibility & contrast

On white

1.22
#FFE896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#FFE896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE896
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE896#FFFFFF#000000##000000
##FFE8961.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E490
Deuteranopia (green-blind)
#FEEC99
Tritanopia (blue-blind)
#FFDCD4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe896;
/* rgb */ color: rgb(255, 232, 150);
/* oklch */ color: oklch(93.2% 0.105 94.3);
Tailwind
colors: {
  custom: {
    50: '#ffefb6',
    500: '#ffe896',
    950: '#000000',
  },
}
SCSS
$custom: #ffe896;
$custom-light: #ffefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe896",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 150
  },
  "hsl": {
    "h": 46.857,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93181,
    "c": 0.1046,
    "h": 94.3
  },
  "luminance": 0.81175
}

Semantic roles & 50–950 ramp

primary
#FFE896
secondary
#5876E1
accent
#32E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE896

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

Preview Lab → · Contrast checker → · Palette generator →

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