#E2CD59#E2CD59

#E2CD59 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.137 H 99.1°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E2CD59
RGBrgb(226, 205, 89)
HSLhsl(51, 70%, 62%)
HSVhsv(51, 61%, 89%)
CMYKcmyk(0%, 9.3%, 60.6%, 11.4%)
CIE-LABlab(82.14, -6.35, 58.95)
CIE-LCHlch(82.14, 59.29, 96.15°)
OKLaboklab(84.39% -0.0217 0.1354)
OKLCHoklch(84.39% 0.137 99.1)
XYZxyz(55.0007, 60.5550, 18.2404)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD59 #596EE2
analogous
#E28959 #E2CD59 #B3E259
triadic
#E2CD59 #59E2CD #CD59E2
tetradic
#E2CD59 #59E289 #596EE2 #E259B3
square
#E2CD59 #59E289 #596EE2 #E259B3
split-complementary
#E2CD59 #59B3E2 #8959E2
monochromatic
#A48F1D #D8BD26 #E2CD59 #EBDD8D #F4ECC1

Accessibility & contrast

On white

1.60
#E2CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#E2CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD59
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD59#FFFFFF#000000##000000
##E2CD591.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F2BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd59;
/* rgb */ color: rgb(226, 205, 89);
/* oklch */ color: oklch(84.4% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#eedc8c',
    500: '#e2cd59',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd59;
$custom-light: #eedc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd59",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 50.803,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.13709,
    "h": 99.1
  },
  "luminance": 0.60553
}

Semantic roles & 50–950 ramp

primary
#E2CD59
secondary
#394AA6
accent
#31D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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