#EBEC96#EBEC96

#EBEC96 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.3% C 0.108 H 108.9°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#EBEC96
RGBrgb(235, 236, 150)
HSLhsl(61, 69%, 76%)
HSVhsv(61, 36%, 93%)
CMYKcmyk(0.4%, 0%, 36.4%, 7.5%)
CIE-LABlab(91.62, -12.86, 41.62)
CIE-LCHlch(91.62, 43.56, 107.17°)
OKLaboklab(92.33% -0.0349 0.102)
OKLCHoklch(92.33% 0.108 108.9)
XYZxyz(69.7622, 79.8564, 40.5871)
Luminance0.7985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC96 #9796EC
analogous
#ECC296 #EBEC96 #C0EC96
triadic
#EBEC96 #96EBEC #EC96EB
tetradic
#EBEC96 #96ECC2 #9796EC #EC96C0
square
#EBEC96 #96ECC2 #9796EC #EC96C0
split-complementary
#EBEC96 #96C0EC #C296EC
monochromatic
#D7D92E #E1E362 #EBEC96 #F5F5CA #FAFAE5

Accessibility & contrast

On white

1.24
#EBEC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#EBEC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC96
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC96#FFFFFF#000000##000000
##EBEC961.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#FAE99A
Tritanopia (blue-blind)
#F6E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebec96;
/* rgb */ color: rgb(235, 236, 150);
/* oklch */ color: oklch(92.3% 0.108 108.9);
Tailwind
colors: {
  custom: {
    50: '#f2f2b6',
    500: '#ebec96',
    950: '#000000',
  },
}
SCSS
$custom: #ebec96;
$custom-light: #f2f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec96",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 150
  },
  "hsl": {
    "h": 60.698,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92325,
    "c": 0.10781,
    "h": 108.9
  },
  "luminance": 0.79855
}

Semantic roles & 50–950 ramp

primary
#EBEC96
secondary
#605FC7
accent
#14D116
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EBEC96

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

Preview Lab → · Contrast checker → · Palette generator →

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