#EBDC96#EBDC96

#EBDC96 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.090 H 97.5°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#EBDC96
RGBrgb(235, 220, 150)
HSLhsl(49, 68%, 75%)
HSVhsv(49, 36%, 92%)
CMYKcmyk(0%, 6.4%, 36.2%, 7.8%)
CIE-LABlab(87.51, -4.84, 36.29)
CIE-LCHlch(87.51, 36.61, 97.59°)
OKLaboklab(89.07% -0.0119 0.0897)
OKLCHoklch(89.07% 0.09 97.5)
XYZxyz(65.3602, 71.0524, 39.1198)
Luminance0.7105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC96 #96A5EB
analogous
#EBB196 #EBDC96 #CFEB96
triadic
#EBDC96 #96EBDC #DC96EB
tetradic
#EBDC96 #96EBB1 #96A5EB #EB96CF
square
#EBDC96 #96EBB1 #96A5EB #EB96CF
split-complementary
#EBDC96 #96CFEB #B196EB
monochromatic
#D7BA2F #E1CB63 #EBDC96 #F5EDC9 #FAF6E5

Accessibility & contrast

On white

1.38
#EBDC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#EBDC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC96
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC96#FFFFFF#000000##000000
##EBDC961.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D891
Deuteranopia (green-blind)
#EEDE99
Tritanopia (blue-blind)
#F7D2CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ebdc96;
/* rgb */ color: rgb(235, 220, 150);
/* oklch */ color: oklch(89.1% 0.090 97.5);
Tailwind
colors: {
  custom: {
    50: '#f2e6b5',
    500: '#ebdc96',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc96;
$custom-light: #f2e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc96",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 150
  },
  "hsl": {
    "h": 49.412,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89067,
    "c": 0.09046,
    "h": 97.5
  },
  "luminance": 0.71051
}

Semantic roles & 50–950 ramp

primary
#EBDC96
secondary
#5F71C6
accent
#36D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDC96

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

Preview Lab → · Contrast checker → · Palette generator →

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