#EBDA97#EBDA97

#EBDA97 is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.087 H 95.6°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#EBDA97
RGBrgb(235, 218, 151)
HSLhsl(48, 68%, 76%)
HSVhsv(48, 36%, 92%)
CMYKcmyk(0%, 7.2%, 35.7%, 7.8%)
CIE-LABlab(87.02, -3.71, 35.13)
CIE-LCHlch(87.02, 35.32, 96.02°)
OKLaboklab(88.68% -0.0085 0.087)
OKLCHoklch(88.68% 0.087 95.6)
XYZxyz(64.9193, 70.0413, 39.3717)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDA97 #97A8EB
analogous
#EBB097 #EBDA97 #D2EB97
triadic
#EBDA97 #97EBDA #DA97EB
tetradic
#EBDA97 #97EBB0 #97A8EB #EB97D2
square
#EBDA97 #97EBB0 #97A8EB #EB97D2
split-complementary
#EBDA97 #97D2EB #B097EB
monochromatic
#D7B530 #E1C864 #EBDA97 #F5ECCA #FAF6E5

Accessibility & contrast

On white

1.40
#EBDA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#EBDA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDA97
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDA97#FFFFFF#000000##000000
##EBDA971.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D792
Deuteranopia (green-blind)
#ECDC99
Tritanopia (blue-blind)
#F7D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebda97;
/* rgb */ color: rgb(235, 218, 151);
/* oklch */ color: oklch(88.7% 0.087 95.6);
Tailwind
colors: {
  custom: {
    50: '#f2e5b6',
    500: '#ebda97',
    950: '#000000',
  },
}
SCSS
$custom: #ebda97;
$custom-light: #f2e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebda97",
  "rgb": {
    "r": 235,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 47.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.88682,
    "c": 0.08745,
    "h": 95.6
  },
  "luminance": 0.70039
}

Semantic roles & 50–950 ramp

primary
#EBDA97
secondary
#6075C6
accent
#3BD016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDA97

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

Preview Lab → · Contrast checker → · Palette generator →

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