#E2D788#E2D788

#E2D788 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.100 H 101.4°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E2D788
RGBrgb(226, 215, 136)
HSLhsl(53, 61%, 71%)
HSVhsv(53, 40%, 89%)
CMYKcmyk(0%, 4.9%, 39.8%, 11.4%)
CIE-LABlab(85.28, -7.35, 40.32)
CIE-LCHlch(85.28, 40.98, 100.34°)
OKLaboklab(87.05% -0.0198 0.0985)
OKLCHoklch(87.05% 0.1 101.4)
XYZxyz(60.1095, 66.5489, 32.9666)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D788 #8893E2
analogous
#E2AA88 #E2D788 #C0E288
triadic
#E2D788 #88E2D7 #D788E2
tetradic
#E2D788 #88E2AA #8893E2 #E288C0
square
#E2D788 #88E2AA #8893E2 #E288C0
split-complementary
#E2D788 #88C0E2 #AA88E2
monochromatic
#C1AF2F #D6C657 #E2D788 #EEE8B9 #F9F7E6

Accessibility & contrast

On white

1.47
#E2D788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#E2D788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D788
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D788#FFFFFF#000000##000000
##E2D7881.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D282
Deuteranopia (green-blind)
#E8D78B
Tritanopia (blue-blind)
#EECDC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d788;
/* rgb */ color: rgb(226, 215, 136);
/* oklch */ color: oklch(87.1% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#ece3ac',
    500: '#e2d788',
    950: '#000000',
  },
}
SCSS
$custom: #e2d788;
$custom-light: #ece3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d788",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 136
  },
  "hsl": {
    "h": 52.667,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87051,
    "c": 0.10043,
    "h": 101.4
  },
  "luminance": 0.66547
}

Semantic roles & 50–950 ramp

primary
#E2D788
secondary
#5461BA
accent
#32C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D788

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

Preview Lab → · Contrast checker → · Palette generator →

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