#EBDF97#EBDF97

#EBDF97 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.092 H 99.9°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#EBDF97
RGBrgb(235, 223, 151)
HSLhsl(51, 68%, 76%)
HSVhsv(51, 36%, 92%)
CMYKcmyk(0%, 5.1%, 35.7%, 7.8%)
CIE-LABlab(88.29, -6.24, 36.80)
CIE-LCHlch(88.29, 37.33, 99.63°)
OKLaboklab(89.69% -0.0159 0.0909)
OKLCHoklch(89.69% 0.092 99.9)
XYZxyz(66.2355, 72.6736, 39.8105)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDF97 #97A3EB
analogous
#EBB597 #EBDF97 #CDEB97
triadic
#EBDF97 #97EBDF #DF97EB
tetradic
#EBDF97 #97EBB5 #97A3EB #EB97CD
square
#EBDF97 #97EBB5 #97A3EB #EB97CD
split-complementary
#EBDF97 #97CDEB #B597EB
monochromatic
#D7BF30 #E1CF64 #EBDF97 #F5EFCA #FAF7E5

Accessibility & contrast

On white

1.35
#EBDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#EBDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDF97
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDF97#FFFFFF#000000##000000
##EBDF971.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB92
Deuteranopia (green-blind)
#F0E09A
Tritanopia (blue-blind)
#F7D5CD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ebdf97;
/* rgb */ color: rgb(235, 223, 151);
/* oklch */ color: oklch(89.7% 0.092 99.9);
Tailwind
colors: {
  custom: {
    50: '#f2e8b6',
    500: '#ebdf97',
    950: '#000000',
  },
}
SCSS
$custom: #ebdf97;
$custom-light: #f2e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdf97",
  "rgb": {
    "r": 235,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 51.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.8969,
    "c": 0.09229,
    "h": 99.9
  },
  "luminance": 0.72672
}

Semantic roles & 50–950 ramp

primary
#EBDF97
secondary
#606FC6
accent
#30D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EBDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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