#EBD896#EBD896

#EBD896 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.087 H 94.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#EBD896
RGBrgb(235, 216, 150)
HSLhsl(47, 68%, 75%)
HSVhsv(47, 36%, 92%)
CMYKcmyk(0%, 8.1%, 36.2%, 7.8%)
CIE-LABlab(86.49, -2.80, 34.95)
CIE-LCHlch(86.49, 35.06, 94.58°)
OKLaboklab(88.26% -0.006 0.0866)
OKLCHoklch(88.26% 0.087 94)
XYZxyz(64.3230, 68.9779, 38.7740)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD896 #96A9EB
analogous
#EBAD96 #EBD896 #D3EB96
triadic
#EBD896 #96EBD8 #D896EB
tetradic
#EBD896 #96EBAD #96A9EB #EB96D3
square
#EBD896 #96EBAD #96A9EB #EB96D3
split-complementary
#EBD896 #96D3EB #AD96EB
monochromatic
#D7B22F #E1C563 #EBD896 #F5EBC9 #FAF5E5

Accessibility & contrast

On white

1.42
#EBD896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#EBD896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD896
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD896#FFFFFF#000000##000000
##EBD8961.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D591
Deuteranopia (green-blind)
#EADB98
Tritanopia (blue-blind)
#F8CEC7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd896;
/* rgb */ color: rgb(235, 216, 150);
/* oklch */ color: oklch(88.3% 0.087 94.0);
Tailwind
colors: {
  custom: {
    50: '#f2e3b5',
    500: '#ebd896',
    950: '#000000',
  },
}
SCSS
$custom: #ebd896;
$custom-light: #f2e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd896",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 46.588,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88263,
    "c": 0.08679,
    "h": 94
  },
  "luminance": 0.68976
}

Semantic roles & 50–950 ramp

primary
#EBD896
secondary
#5F76C6
accent
#3FD016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD896

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

Preview Lab → · Contrast checker → · Palette generator →

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