#E2D288#E2D288

#E2D288 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.095 H 97.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#E2D288
RGBrgb(226, 210, 136)
HSLhsl(49, 61%, 71%)
HSVhsv(49, 40%, 89%)
CMYKcmyk(0%, 7.1%, 39.8%, 11.4%)
CIE-LABlab(83.99, -4.81, 38.66)
CIE-LCHlch(83.99, 38.96, 97.09°)
OKLaboklab(86.03% -0.0124 0.0947)
OKLCHoklch(86.03% 0.095 97.5)
XYZxyz(58.8558, 64.0414, 32.5487)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D288 #8898E2
analogous
#E2A588 #E2D288 #C5E288
triadic
#E2D288 #88E2D2 #D288E2
tetradic
#E2D288 #88E2A5 #8898E2 #E288C5
square
#E2D288 #88E2A5 #8898E2 #E288C5
split-complementary
#E2D288 #88C5E2 #A588E2
monochromatic
#C1A72F #D6BF57 #E2D288 #EEE5B9 #F9F6E6

Accessibility & contrast

On white

1.52
#E2D288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#E2D288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D288
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D288#FFFFFF#000000##000000
##E2D2881.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE82
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#EFC8BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d288;
/* rgb */ color: rgb(226, 210, 136);
/* oklch */ color: oklch(86.0% 0.095 97.5);
Tailwind
colors: {
  custom: {
    50: '#ecdfab',
    500: '#e2d288',
    950: '#000000',
  },
}
SCSS
$custom: #e2d288;
$custom-light: #ecdfab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d288",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 49.333,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86031,
    "c": 0.09549,
    "h": 97.5
  },
  "luminance": 0.6404
}

Semantic roles & 50–950 ramp

primary
#E2D288
secondary
#5466BA
accent
#3BC91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D288

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

Preview Lab → · Contrast checker → · Palette generator →

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