#E5CA56#E5CA56

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

Color values

HEX#E5CA56
RGBrgb(229, 202, 86)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 11.8%, 62.4%, 10.2%)
CIE-LABlab(81.61, -3.77, 59.76)
CIE-LCHlch(81.61, 59.88, 93.61°)
OKLaboklab(84.02% -0.0148 0.1366)
OKLCHoklch(84.02% 0.137 96.2)
XYZxyz(55.1158, 59.5736, 17.3980)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA56 #5671E5
analogous
#E58356 #E5CA56 #B9E556
triadic
#E5CA56 #56E5CA #CA56E5
tetradic
#E5CA56 #56E583 #5671E5 #E556B9
square
#E5CA56 #56E583 #5671E5 #E556B9
split-complementary
#E5CA56 #56B9E5 #8356E5
monochromatic
#A78C1A #DCB922 #E5CA56 #EDDB8B #F5EBC0

Accessibility & contrast

On white

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

On black

12.91
#E5CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CA56
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CA56#FFFFFF#000000##000000
##E5CA561.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5ca56;
/* rgb */ color: rgb(229, 202, 86);
/* oklch */ color: oklch(84.0% 0.137 96.2);
Tailwind
colors: {
  custom: {
    50: '#f0d98a',
    500: '#e5ca56',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca56;
$custom-light: #f0d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca56",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 48.671,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84019,
    "c": 0.1374,
    "h": 96.2
  },
  "luminance": 0.59571
}

Semantic roles & 50–950 ramp

primary
#E5CA56
secondary
#364CA9
accent
#35D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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