#E2DE8A#E2DE8A

#E2DE8A is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.106 H 106.0°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E2DE8A
RGBrgb(226, 222, 138)
HSLhsl(57, 60%, 71%)
HSVhsv(57, 39%, 89%)
CMYKcmyk(0%, 1.8%, 38.9%, 11.4%)
CIE-LABlab(87.12, -10.67, 41.67)
CIE-LCHlch(87.12, 43.01, 104.37°)
OKLaboklab(88.52% -0.0292 0.1016)
OKLCHoklch(88.52% 0.106 106)
XYZxyz(62.0737, 70.2477, 34.3291)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE8A #8A8EE2
analogous
#E2B28A #E2DE8A #BAE28A
triadic
#E2DE8A #8AE2DE #DE8AE2
tetradic
#E2DE8A #8AE2B2 #8A8EE2 #E28ABA
square
#E2DE8A #8AE2B2 #8A8EE2 #E28ABA
split-complementary
#E2DE8A #8ABAE2 #B28AE2
monochromatic
#C2BB30 #D6D059 #E2DE8A #EEECBB #F9F8E6

Accessibility & contrast

On white

1.40
#E2DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#E2DE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE8A
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE8A#FFFFFF#000000##000000
##E2DE8A1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#EDDC8E
Tritanopia (blue-blind)
#EED4C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2de8a;
/* rgb */ color: rgb(226, 222, 138);
/* oklch */ color: oklch(88.5% 0.106 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece8ad',
    500: '#e2de8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2de8a;
$custom-light: #ece8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de8a",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 57.273,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88522,
    "c": 0.10574,
    "h": 106
  },
  "luminance": 0.70246
}

Semantic roles & 50–950 ramp

primary
#E2DE8A
secondary
#565ABA
accent
#25C81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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