#E5CA57#E5CA57

#E5CA57 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 84.0% C 0.137 H 96.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E5CA57
RGBrgb(229, 202, 87)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 11.8%, 62%, 10.2%)
CIE-LABlab(81.61, -3.70, 59.33)
CIE-LCHlch(81.61, 59.45, 93.57°)
OKLaboklab(84.03% -0.0145 0.1358)
OKLCHoklch(84.03% 0.137 96.1)
XYZxyz(55.1563, 59.5898, 17.6117)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA57 #5772E5
analogous
#E58357 #E5CA57 #B9E557
triadic
#E5CA57 #57E5CA #CA57E5
tetradic
#E5CA57 #57E583 #5772E5 #E557B9
square
#E5CA57 #57E583 #5772E5 #E557B9
split-complementary
#E5CA57 #57B9E5 #8357E5
monochromatic
#A88D1A #DDB922 #E5CA57 #EDDB8C #F5EBC1

Accessibility & contrast

On white

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

On black

12.92
#E5CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CA57
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CA57#FFFFFF#000000##000000
##E5CA571.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5ca57;
/* rgb */ color: rgb(229, 202, 87);
/* oklch */ color: oklch(84.0% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#f0d98b',
    500: '#e5ca57',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca57;
$custom-light: #f0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca57",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 48.592,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84029,
    "c": 0.1366,
    "h": 96.1
  },
  "luminance": 0.59587
}

Semantic roles & 50–950 ramp

primary
#E5CA57
secondary
#374DAA
accent
#36D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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