#E2DE40#E2DE40

#E2DE40 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.7% C 0.170 H 108.0°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E2DE40
RGBrgb(226, 222, 64)
HSLhsl(59, 74%, 57%)
HSVhsv(59, 72%, 89%)
CMYKcmyk(0%, 1.8%, 71.7%, 11.4%)
CIE-LABlab(86.40, -16.26, 73.14)
CIE-LCHlch(86.40, 74.93, 102.54°)
OKLaboklab(87.72% -0.0524 0.1615)
OKLCHoklch(87.72% 0.17 108)
XYZxyz(58.4129, 68.7834, 15.0491)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE40 #4044E2
analogous
#E28D40 #E2DE40 #95E240
triadic
#E2DE40 #40E2DE #DE40E2
tetradic
#E2DE40 #40E28D #4044E2 #E24095
square
#E2DE40 #40E28D #4044E2 #E24095
split-complementary
#E2DE40 #4095E2 #8D40E2
monochromatic
#928E16 #C7C21E #E2DE40 #EAE775 #F2F0AA

Accessibility & contrast

On white

1.42
#E2DE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#E2DE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE40
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE40#FFFFFF#000000##000000
##E2DE401.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D522
Deuteranopia (green-blind)
#F3DB4C
Tritanopia (blue-blind)
#F2D0C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de40;
/* rgb */ color: rgb(226, 222, 64);
/* oklch */ color: oklch(87.7% 0.170 108.0);
Tailwind
colors: {
  custom: {
    50: '#efe87f',
    500: '#e2de40',
    950: '#000000',
  },
}
SCSS
$custom: #e2de40;
$custom-light: #efe87f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de40",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 64
  },
  "hsl": {
    "h": 58.519,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.87715,
    "c": 0.16974,
    "h": 108
  },
  "luminance": 0.68781
}

Semantic roles & 50–950 ramp

primary
#E2DE40
secondary
#303396
accent
#3CF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2DE40

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

Preview Lab → · Contrast checker → · Palette generator →

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