#E2DF7A#E2DF7A

#E2DF7A is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.5% C 0.124 H 107.2°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#E2DF7A
RGBrgb(226, 223, 122)
HSLhsl(58, 64%, 68%)
HSVhsv(58, 46%, 89%)
CMYKcmyk(0%, 1.3%, 46%, 11.4%)
CIE-LABlab(87.17, -12.78, 49.55)
CIE-LCHlch(87.17, 51.17, 104.46°)
OKLaboklab(88.49% -0.0366 0.1184)
OKLCHoklch(88.49% 0.124 107.2)
XYZxyz(61.2659, 70.3508, 28.7603)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF7A #7A7DE2
analogous
#E2AB7A #E2DF7A #B1E27A
triadic
#E2DF7A #7AE2DF #DF7AE2
tetradic
#E2DF7A #7AE2AB #7A7DE2 #E27AB1
square
#E2DF7A #7AE2AB #7A7DE2 #E27AB1
split-complementary
#E2DF7A #7AB1E2 #AB7AE2
monochromatic
#B9B528 #D7D348 #E2DF7A #EDEBAC #F8F7DE

Accessibility & contrast

On white

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

On black

15.07
#E2DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF7A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF7A#FFFFFF#000000##000000
##E2DF7A1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED871
Deuteranopia (green-blind)
#F0DC7F
Tritanopia (blue-blind)
#EFD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df7a;
/* rgb */ color: rgb(226, 223, 122);
/* oklch */ color: oklch(88.5% 0.124 107.2);
Tailwind
colors: {
  custom: {
    50: '#ede8a2',
    500: '#e2df7a',
    950: '#000000',
  },
}
SCSS
$custom: #e2df7a;
$custom-light: #ede8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df7a",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 58.269,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88494,
    "c": 0.12387,
    "h": 107.2
  },
  "luminance": 0.70349
}

Semantic roles & 50–950 ramp

primary
#E2DF7A
secondary
#474AB9
accent
#1FCC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #E2DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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