#E2DC4E#E2DC4E

#E2DC4E is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.159 H 106.9°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E2DC4E
RGBrgb(226, 220, 78)
HSLhsl(58, 72%, 60%)
HSVhsv(58, 65%, 89%)
CMYKcmyk(0%, 2.7%, 65.5%, 11.4%)
CIE-LABlab(85.96, -14.57, 67.59)
CIE-LCHlch(85.96, 69.15, 102.16°)
OKLaboklab(87.4% -0.0462 0.1521)
OKLCHoklch(87.4% 0.159 106.9)
XYZxyz(58.3345, 67.9071, 17.2408)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC4E #4E54E2
analogous
#E2924E #E2DC4E #9EE24E
triadic
#E2DC4E #4EE2DC #DC4EE2
tetradic
#E2DC4E #4EE292 #4E54E2 #E24E9E
square
#E2DC4E #4EE292 #4E54E2 #E24E9E
split-complementary
#E2DC4E #4E9EE2 #924EE2
monochromatic
#9C971A #D1CA22 #E2DC4E #EBE683 #F3F1B7

Accessibility & contrast

On white

1.44
#E2DC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#E2DC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC4E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC4E#FFFFFF#000000##000000
##E2DC4E1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43A
Deuteranopia (green-blind)
#F1DA57
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc4e;
/* rgb */ color: rgb(226, 220, 78);
/* oklch */ color: oklch(87.4% 0.159 106.9);
Tailwind
colors: {
  custom: {
    50: '#eee687',
    500: '#e2dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc4e;
$custom-light: #eee687;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc4e",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 57.568,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87395,
    "c": 0.15895,
    "h": 106.9
  },
  "luminance": 0.67905
}

Semantic roles & 50–950 ramp

primary
#E2DC4E
secondary
#35399F
accent
#41EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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