#E4CA59#E4CA59

#E4CA59 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.135 H 96.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#E4CA59
RGBrgb(228, 202, 89)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 11.4%, 61%, 10.6%)
CIE-LABlab(81.54, -3.99, 58.34)
CIE-LCHlch(81.54, 58.48, 93.91°)
OKLaboklab(83.96% -0.015 0.134)
OKLCHoklch(83.96% 0.135 96.4)
XYZxyz(54.9209, 59.4589, 18.0331)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA59 #5973E4
analogous
#E48559 #E4CA59 #B9E459
triadic
#E4CA59 #59E4CA #CA59E4
tetradic
#E4CA59 #59E485 #5973E4 #E459B9
square
#E4CA59 #59E485 #5973E4 #E459B9
split-complementary
#E4CA59 #59B9E4 #8559E4
monochromatic
#A78D1B #DBB924 #E4CA59 #EDDB8E #F5ECC2

Accessibility & contrast

On white

1.63
#E4CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#E4CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA59
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA59#FFFFFF#000000##000000
##E4CA591.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64D
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#F5BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4ca59;
/* rgb */ color: rgb(228, 202, 89);
/* oklch */ color: oklch(84.0% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#f0d98c',
    500: '#e4ca59',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca59;
$custom-light: #f0d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca59",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 48.777,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83957,
    "c": 0.13487,
    "h": 96.4
  },
  "luminance": 0.59456
}

Semantic roles & 50–950 ramp

primary
#E4CA59
secondary
#384DA9
accent
#36D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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