#E2D688#E2D688

#E2D688 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.099 H 100.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#E2D688
RGBrgb(226, 214, 136)
HSLhsl(52, 61%, 71%)
HSVhsv(52, 40%, 89%)
CMYKcmyk(0%, 5.3%, 39.8%, 11.4%)
CIE-LABlab(85.02, -6.85, 39.99)
CIE-LCHlch(85.02, 40.57, 99.72°)
OKLaboklab(86.85% -0.0183 0.0977)
OKLCHoklch(86.85% 0.099 100.6)
XYZxyz(59.8557, 66.0412, 32.8820)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D688 #8894E2
analogous
#E2A988 #E2D688 #C1E288
triadic
#E2D688 #88E2D6 #D688E2
tetradic
#E2D688 #88E2A9 #8894E2 #E288C1
square
#E2D688 #88E2A9 #8894E2 #E288C1
split-complementary
#E2D688 #88C1E2 #A988E2
monochromatic
#C1AD2F #D6C557 #E2D688 #EEE7B9 #F9F7E6

Accessibility & contrast

On white

1.48
#E2D688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#E2D688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D688
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D688#FFFFFF#000000##000000
##E2D6881.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D182
Deuteranopia (green-blind)
#E7D78B
Tritanopia (blue-blind)
#EFCCC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d688;
/* rgb */ color: rgb(226, 214, 136);
/* oklch */ color: oklch(86.8% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#ece2ab',
    500: '#e2d688',
    950: '#000000',
  },
}
SCSS
$custom: #e2d688;
$custom-light: #ece2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d688",
  "rgb": {
    "r": 226,
    "g": 214,
    "b": 136
  },
  "hsl": {
    "h": 52,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86847,
    "c": 0.09941,
    "h": 100.6
  },
  "luminance": 0.66039
}

Semantic roles & 50–950 ramp

primary
#E2D688
secondary
#5462BA
accent
#34C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D688

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

Preview Lab → · Contrast checker → · Palette generator →

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