#E2DF82#E2DF82

#E2DF82 is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.116 H 106.9°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#E2DF82
RGBrgb(226, 223, 130)
HSLhsl(58, 62%, 70%)
HSVhsv(58, 42%, 89%)
CMYKcmyk(0%, 1.3%, 42.5%, 11.4%)
CIE-LABlab(87.27, -12.00, 45.80)
CIE-LCHlch(87.27, 47.35, 104.69°)
OKLaboklab(88.61% -0.0336 0.1106)
OKLCHoklch(88.61% 0.116 106.9)
XYZxyz(61.7821, 70.5573, 31.4791)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF82 #8285E2
analogous
#E2AF82 #E2DF82 #B5E282
triadic
#E2DF82 #82E2DF #DF82E2
tetradic
#E2DF82 #82E2AF #8285E2 #E282B5
square
#E2DF82 #82E2AF #8285E2 #E282B5
split-complementary
#E2DF82 #82B5E2 #AF82E2
monochromatic
#BEB92C #D6D250 #E2DF82 #EEECB4 #F9F8E5

Accessibility & contrast

On white

1.39
#E2DF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#E2DF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF82
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF82#FFFFFF#000000##000000
##E2DF821.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD87B
Deuteranopia (green-blind)
#EFDD86
Tritanopia (blue-blind)
#EED4C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df82;
/* rgb */ color: rgb(226, 223, 130);
/* oklch */ color: oklch(88.6% 0.116 106.9);
Tailwind
colors: {
  custom: {
    50: '#ede8a8',
    500: '#e2df82',
    950: '#000000',
  },
}
SCSS
$custom: #e2df82;
$custom-light: #ede8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df82",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 130
  },
  "hsl": {
    "h": 58.125,
    "s": 62.338,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88607,
    "c": 0.11555,
    "h": 106.9
  },
  "luminance": 0.70556
}

Semantic roles & 50–950 ramp

primary
#E2DF82
secondary
#4E52BA
accent
#21CA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161610
muted
#858480

Preview Lab

Preview with #E2DF82

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

Preview Lab → · Contrast checker → · Palette generator →

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