#E2CD39#E2CD39

#E2CD39 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.159 H 100.9°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#E2CD39
RGBrgb(226, 205, 57)
HSLhsl(53, 74%, 55%)
HSVhsv(53, 75%, 89%)
CMYKcmyk(0%, 9.3%, 74.8%, 11.4%)
CIE-LABlab(81.91, -8.07, 71.26)
CIE-LCHlch(81.91, 71.71, 96.46°)
OKLaboklab(84.13% -0.03 0.1562)
OKLCHoklch(84.13% 0.159 100.9)
XYZxyz(53.9364, 60.1293, 12.6352)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD39 #394EE2
analogous
#E27839 #E2CD39 #A3E239
triadic
#E2CD39 #39E2CD #CD39E2
tetradic
#E2CD39 #39E278 #394EE2 #E239A3
square
#E2CD39 #39E278 #394EE2 #E239A3
split-complementary
#E2CD39 #39A3E2 #7839E2
monochromatic
#8C7D15 #C1AD1C #E2CD39 #EADA6E #F2E8A4

Accessibility & contrast

On white

1.61
#E2CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#E2CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD39
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD39#FFFFFF#000000##000000
##E2CD391.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71B
Deuteranopia (green-blind)
#E7CF43
Tritanopia (blue-blind)
#F4BEB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd39;
/* rgb */ color: rgb(226, 205, 57);
/* oklch */ color: oklch(84.1% 0.159 100.9);
Tailwind
colors: {
  custom: {
    50: '#efdb7a',
    500: '#e2cd39',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd39;
$custom-light: #efdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd39",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 52.544,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.15905,
    "h": 100.9
  },
  "luminance": 0.60127
}

Semantic roles & 50–950 ramp

primary
#E2CD39
secondary
#2E3A91
accent
#4EF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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