#EBDC97#EBDC97

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

Color values

HEX#EBDC97
RGBrgb(235, 220, 151)
HSLhsl(49, 68%, 76%)
HSVhsv(49, 36%, 92%)
CMYKcmyk(0%, 6.4%, 35.7%, 7.8%)
CIE-LABlab(87.53, -4.72, 35.80)
CIE-LCHlch(87.53, 36.11, 97.52°)
OKLaboklab(89.09% -0.0115 0.0886)
OKLCHoklch(89.09% 0.089 97.4)
XYZxyz(65.4411, 71.0848, 39.5457)
Luminance0.7108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC97 #97A6EB
analogous
#EBB297 #EBDC97 #D0EB97
triadic
#EBDC97 #97EBDC #DC97EB
tetradic
#EBDC97 #97EBB2 #97A6EB #EB97D0
square
#EBDC97 #97EBB2 #97A6EB #EB97D0
split-complementary
#EBDC97 #97D0EB #B297EB
monochromatic
#D7B930 #E1CB64 #EBDC97 #F5EDCA #FAF6E5

Accessibility & contrast

On white

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

On black

15.22
#EBDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC97
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC97#FFFFFF#000000##000000
##EBDC971.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebdc97;
/* rgb */ color: rgb(235, 220, 151);
/* oklch */ color: oklch(89.1% 0.089 97.4);
Tailwind
colors: {
  custom: {
    50: '#f2e6b6',
    500: '#ebdc97',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc97;
$custom-light: #f2e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc97",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 49.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.89085,
    "c": 0.08933,
    "h": 97.4
  },
  "luminance": 0.71083
}

Semantic roles & 50–950 ramp

primary
#EBDC97
secondary
#6072C6
accent
#37D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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