#E2CA59#E2CA59

#E2CA59 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.135 H 97.4°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#E2CA59
RGBrgb(226, 202, 89)
HSLhsl(49, 70%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 10.6%, 60.6%, 11.4%)
CIE-LABlab(81.36, -4.82, 58.10)
CIE-LCHlch(81.36, 58.30, 94.74°)
OKLaboklab(83.77% -0.0173 0.1336)
OKLCHoklch(83.77% 0.135 97.4)
XYZxyz(54.2900, 59.1336, 18.0035)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA59 #5971E2
analogous
#E28659 #E2CA59 #B6E259
triadic
#E2CA59 #59E2CA #CA59E2
tetradic
#E2CA59 #59E286 #5971E2 #E259B6
square
#E2CA59 #59E286 #5971E2 #E259B6
split-complementary
#E2CA59 #59B6E2 #8659E2
monochromatic
#A48C1D #D8B926 #E2CA59 #EBDB8D #F4EBC1

Accessibility & contrast

On white

1.64
#E2CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#E2CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA59
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA59#FFFFFF#000000##000000
##E2CA591.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#F2BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca59;
/* rgb */ color: rgb(226, 202, 89);
/* oklch */ color: oklch(83.8% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#eed98c',
    500: '#e2ca59',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca59;
$custom-light: #eed98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca59",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 49.489,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83774,
    "c": 0.13466,
    "h": 97.4
  },
  "luminance": 0.59131
}

Semantic roles & 50–950 ramp

primary
#E2CA59
secondary
#394CA6
accent
#35D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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