#E2D488#E2D488

#E2D488 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.097 H 99.1°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#E2D488
RGBrgb(226, 212, 136)
HSLhsl(51, 61%, 71%)
HSVhsv(51, 40%, 89%)
CMYKcmyk(0%, 6.2%, 39.8%, 11.4%)
CIE-LABlab(84.50, -5.83, 39.33)
CIE-LCHlch(84.50, 39.75, 98.43°)
OKLaboklab(86.44% -0.0154 0.0962)
OKLCHoklch(86.44% 0.097 99.1)
XYZxyz(59.3526, 65.0351, 32.7143)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D488 #8896E2
analogous
#E2A788 #E2D488 #C3E288
triadic
#E2D488 #88E2D4 #D488E2
tetradic
#E2D488 #88E2A7 #8896E2 #E288C3
square
#E2D488 #88E2A7 #8896E2 #E288C3
split-complementary
#E2D488 #88C3E2 #A788E2
monochromatic
#C1AA2F #D6C257 #E2D488 #EEE6B9 #F9F6E6

Accessibility & contrast

On white

1.50
#E2D488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#E2D488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D488
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D488#FFFFFF#000000##000000
##E2D4881.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D082
Deuteranopia (green-blind)
#E6D58B
Tritanopia (blue-blind)
#EFCAC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d488;
/* rgb */ color: rgb(226, 212, 136);
/* oklch */ color: oklch(86.4% 0.097 99.1);
Tailwind
colors: {
  custom: {
    50: '#ece1ab',
    500: '#e2d488',
    950: '#000000',
  },
}
SCSS
$custom: #e2d488;
$custom-light: #ece1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d488",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 50.667,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86438,
    "c": 0.09742,
    "h": 99.1
  },
  "luminance": 0.65033
}

Semantic roles & 50–950 ramp

primary
#E2D488
secondary
#5464BA
accent
#38C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D488

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

Preview Lab → · Contrast checker → · Palette generator →

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