#EBD997#EBD997

#EBD997 is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.087 H 94.7°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#EBD997
RGBrgb(235, 217, 151)
HSLhsl(47, 68%, 76%)
HSVhsv(47, 36%, 92%)
CMYKcmyk(0%, 7.7%, 35.7%, 7.8%)
CIE-LABlab(86.76, -3.20, 34.80)
CIE-LCHlch(86.76, 34.94, 95.25°)
OKLaboklab(88.48% -0.0071 0.0862)
OKLCHoklch(88.48% 0.087 94.7)
XYZxyz(64.6608, 69.5242, 39.2856)
Luminance0.6952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD997 #97A9EB
analogous
#EBAF97 #EBD997 #D3EB97
triadic
#EBD997 #97EBD9 #D997EB
tetradic
#EBD997 #97EBAF #97A9EB #EB97D3
square
#EBD997 #97EBAF #97A9EB #EB97D3
split-complementary
#EBD997 #97D3EB #AF97EB
monochromatic
#D7B330 #E1C664 #EBD997 #F5ECCA #FAF6E5

Accessibility & contrast

On white

1.41
#EBD997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#EBD997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD997
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD997#FFFFFF#000000##000000
##EBD9971.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D692
Deuteranopia (green-blind)
#EBDC99
Tritanopia (blue-blind)
#F8CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebd997;
/* rgb */ color: rgb(235, 217, 151);
/* oklch */ color: oklch(88.5% 0.087 94.7);
Tailwind
colors: {
  custom: {
    50: '#f2e4b6',
    500: '#ebd997',
    950: '#000000',
  },
}
SCSS
$custom: #ebd997;
$custom-light: #f2e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd997",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 47.143,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.88482,
    "c": 0.08654,
    "h": 94.7
  },
  "luminance": 0.69522
}

Semantic roles & 50–950 ramp

primary
#EBD997
secondary
#6076C6
accent
#3ED016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD997

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

Preview Lab → · Contrast checker → · Palette generator →

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