#E2DF81#E2DF81

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

Color values

HEX#E2DF81
RGBrgb(226, 223, 129)
HSLhsl(58, 63%, 70%)
HSVhsv(58, 43%, 89%)
CMYKcmyk(0%, 1.3%, 42.9%, 11.4%)
CIE-LABlab(87.26, -12.10, 46.28)
CIE-LCHlch(87.26, 47.83, 104.66°)
OKLaboklab(88.59% -0.034 0.1115)
OKLCHoklch(88.59% 0.117 107)
XYZxyz(61.7153, 70.5306, 31.1274)
Luminance0.7053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF81 #8184E2
analogous
#E2AE81 #E2DF81 #B5E281
triadic
#E2DF81 #81E2DF #DF81E2
tetradic
#E2DF81 #81E2AE #8184E2 #E281B5
square
#E2DF81 #81E2AE #8184E2 #E281B5
split-complementary
#E2DF81 #81B5E2 #AE81E2
monochromatic
#BDB92C #D7D24F #E2DF81 #EDECB3 #F9F8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DF81#FFFFFF#000000##000000
##E2DF811.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)
#EDD879
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#EED4C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df81;
/* rgb */ color: rgb(226, 223, 129);
/* oklch */ color: oklch(88.6% 0.117 107.0);
Tailwind
colors: {
  custom: {
    50: '#ede8a7',
    500: '#e2df81',
    950: '#000000',
  },
}
SCSS
$custom: #e2df81;
$custom-light: #ede8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df81",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 58.144,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88592,
    "c": 0.11661,
    "h": 107
  },
  "luminance": 0.70529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2DF81

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

Preview Lab → · Contrast checker → · Palette generator →

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