#E2DC39#E2DC39

#E2DC39 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.3% C 0.172 H 107.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#E2DC39
RGBrgb(226, 220, 57)
HSLhsl(58, 74%, 55%)
HSVhsv(58, 75%, 89%)
CMYKcmyk(0%, 2.7%, 74.8%, 11.4%)
CIE-LABlab(85.83, -15.57, 74.90)
CIE-LCHlch(85.83, 76.50, 101.75°)
OKLaboklab(87.25% -0.051 0.164)
OKLCHoklch(87.25% 0.172 107.3)
XYZxyz(57.6981, 67.6526, 13.8891)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC39 #393FE2
analogous
#E28839 #E2DC39 #93E239
triadic
#E2DC39 #39E2DC #DC39E2
tetradic
#E2DC39 #39E288 #393FE2 #E23993
square
#E2DC39 #39E288 #393FE2 #E23993
split-complementary
#E2DC39 #3993E2 #8839E2
monochromatic
#8C8815 #C1BC1C #E2DC39 #EAE56E #F2EFA4

Accessibility & contrast

On white

1.45
#E2DC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#E2DC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC39
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC39#FFFFFF#000000##000000
##E2DC391.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD311
Deuteranopia (green-blind)
#F2D946
Tritanopia (blue-blind)
#F3CDBD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc39;
/* rgb */ color: rgb(226, 220, 57);
/* oklch */ color: oklch(87.3% 0.172 107.3);
Tailwind
colors: {
  custom: {
    50: '#efe67c',
    500: '#e2dc39',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc39;
$custom-light: #efe67c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc39",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 57
  },
  "hsl": {
    "h": 57.87,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.87253,
    "c": 0.17171,
    "h": 107.3
  },
  "luminance": 0.67651
}

Semantic roles & 50–950 ramp

primary
#E2DC39
secondary
#2E3191
accent
#3DF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2DC39

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

Preview Lab → · Contrast checker → · Palette generator →

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