#E2DF84#E2DF84

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

Color values

HEX#E2DF84
RGBrgb(226, 223, 132)
HSLhsl(58, 62%, 70%)
HSVhsv(58, 42%, 89%)
CMYKcmyk(0%, 1.3%, 41.6%, 11.4%)
CIE-LABlab(87.30, -11.80, 44.86)
CIE-LCHlch(87.30, 46.38, 104.74°)
OKLaboklab(88.64% -0.0329 0.1085)
OKLCHoklch(88.64% 0.113 106.9)
XYZxyz(61.9176, 70.6115, 32.1930)
Luminance0.7061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF84 #8487E2
analogous
#E2B084 #E2DF84 #B6E284
triadic
#E2DF84 #84E2DF #DF84E2
tetradic
#E2DF84 #84E2B0 #8487E2 #E284B6
square
#E2DF84 #84E2B0 #8487E2 #E284B6
split-complementary
#E2DF84 #84B6E2 #B084E2
monochromatic
#BFBA2D #D6D252 #E2DF84 #EEECB6 #F9F9E6

Accessibility & contrast

On white

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

On black

15.12
#E2DF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF84
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF84#FFFFFF#000000##000000
##E2DF841.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df84;
/* rgb */ color: rgb(226, 223, 132);
/* oklch */ color: oklch(88.6% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece8a9',
    500: '#e2df84',
    950: '#000000',
  },
}
SCSS
$custom: #e2df84;
$custom-light: #ece8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df84",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 132
  },
  "hsl": {
    "h": 58.085,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88636,
    "c": 0.11341,
    "h": 106.9
  },
  "luminance": 0.7061
}

Semantic roles & 50–950 ramp

primary
#E2DF84
secondary
#5054BA
accent
#21CA1C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DF84

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

Preview Lab → · Contrast checker → · Palette generator →

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