#E4CA57#E4CA57

#E4CA57 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.9% C 0.136 H 96.6°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#E4CA57
RGBrgb(228, 202, 87)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.4%, 61.8%, 10.6%)
CIE-LABlab(81.53, -4.12, 59.21)
CIE-LCHlch(81.53, 59.35, 93.98°)
OKLaboklab(83.94% -0.0156 0.1356)
OKLCHoklch(83.94% 0.136 96.6)
XYZxyz(54.8381, 59.4258, 17.5968)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA57 #5771E4
analogous
#E48457 #E4CA57 #B8E457
triadic
#E4CA57 #57E4CA #CA57E4
tetradic
#E4CA57 #57E484 #5771E4 #E457B8
square
#E4CA57 #57E484 #5771E4 #E457B8
split-complementary
#E4CA57 #57B8E4 #8457E4
monochromatic
#A68C1B #DBB923 #E4CA57 #ECDB8C #F5EBC0

Accessibility & contrast

On white

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

On black

12.88
#E4CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA57
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA57#FFFFFF#000000##000000
##E4CA571.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4ca57;
/* rgb */ color: rgb(228, 202, 87);
/* oklch */ color: oklch(83.9% 0.136 96.6);
Tailwind
colors: {
  custom: {
    50: '#f0d98b',
    500: '#e4ca57',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca57;
$custom-light: #f0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca57",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 48.936,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83937,
    "c": 0.13649,
    "h": 96.6
  },
  "luminance": 0.59423
}

Semantic roles & 50–950 ramp

primary
#E4CA57
secondary
#374CA8
accent
#35D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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