#FFEB96#FFEB96

#FFEB96 is a very light, moderate yellow. Relative luminance 0.829; OKLCH L 93.8% C 0.107 H 96.5°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#FFEB96
RGBrgb(255, 235, 150)
HSLhsl(49, 100%, 79%)
HSVhsv(49, 41%, 100%)
CMYKcmyk(0%, 7.8%, 41.2%, 0%)
CIE-LABlab(92.96, -4.66, 43.66)
CIE-LCHlch(92.96, 43.90, 96.09°)
OKLaboklab(93.78% -0.0122 0.1065)
OKLCHoklch(93.78% 0.107 96.5)
XYZxyz(76.4551, 82.8812, 40.8186)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB96 #96AAFF
analogous
#FFB796 #FFEB96 #DFFF96
triadic
#FFEB96 #96FFEB #EB96FF
tetradic
#FFEB96 #96FFB7 #96AAFF #FF96DF
square
#FFEB96 #96FFB7 #96AAFF #FF96DF
split-complementary
#FFEB96 #96DFFF #B796FF
monochromatic
#FFD41C #FFDF59 #FFEB96 #FFF7D3 #FFF9E0

Accessibility & contrast

On white

1.19
#FFEB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#FFEB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB96
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB96#FFFFFF#000000##000000
##FFEB961.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE790
Deuteranopia (green-blind)
#FFEE99
Tritanopia (blue-blind)
#FFDFD6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeb96;
/* rgb */ color: rgb(255, 235, 150);
/* oklch */ color: oklch(93.8% 0.107 96.5);
Tailwind
colors: {
  custom: {
    50: '#fff1b6',
    500: '#ffeb96',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb96;
$custom-light: #fff1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb96",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 150
  },
  "hsl": {
    "h": 48.571,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93775,
    "c": 0.10719,
    "h": 96.5
  },
  "luminance": 0.82879
}

Semantic roles & 50–950 ramp

primary
#FFEB96
secondary
#5872E1
accent
#2CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB96

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

Preview Lab → · Contrast checker → · Palette generator →

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