#EBD996#EBD996

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

Color values

HEX#EBD996
RGBrgb(235, 217, 150)
HSLhsl(47, 68%, 75%)
HSVhsv(47, 36%, 92%)
CMYKcmyk(0%, 7.7%, 36.2%, 7.8%)
CIE-LABlab(86.75, -3.31, 35.28)
CIE-LCHlch(86.75, 35.44, 95.36°)
OKLaboklab(88.46% -0.0075 0.0874)
OKLCHoklch(88.46% 0.088 94.9)
XYZxyz(64.5799, 69.4919, 38.8597)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD996 #96A8EB
analogous
#EBAE96 #EBD996 #D2EB96
triadic
#EBD996 #96EBD9 #D996EB
tetradic
#EBD996 #96EBAE #96A8EB #EB96D2
square
#EBD996 #96EBAE #96A8EB #EB96D2
split-complementary
#EBD996 #96D2EB #AE96EB
monochromatic
#D7B42F #E1C663 #EBD996 #F5ECC9 #FAF6E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD996#FFFFFF#000000##000000
##EBD9961.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)
#E6D691
Deuteranopia (green-blind)
#EBDC98
Tritanopia (blue-blind)
#F8CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebd996;
/* rgb */ color: rgb(235, 217, 150);
/* oklch */ color: oklch(88.5% 0.088 94.9);
Tailwind
colors: {
  custom: {
    50: '#f2e4b5',
    500: '#ebd996',
    950: '#000000',
  },
}
SCSS
$custom: #ebd996;
$custom-light: #f2e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd996",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 47.294,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88464,
    "c": 0.08767,
    "h": 94.9
  },
  "luminance": 0.6949
}

Semantic roles & 50–950 ramp

primary
#EBD996
secondary
#5F75C6
accent
#3DD016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD996

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

Preview Lab → · Contrast checker → · Palette generator →

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