#E4CA56#E4CA56

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

Color values

HEX#E4CA56
RGBrgb(228, 202, 86)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.4%, 62.3%, 10.6%)
CIE-LABlab(81.52, -4.18, 59.63)
CIE-LCHlch(81.52, 59.78, 94.01°)
OKLaboklab(83.93% -0.0159 0.1364)
OKLCHoklch(83.93% 0.137 96.7)
XYZxyz(54.7975, 59.4095, 17.3831)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA56 #5670E4
analogous
#E48356 #E4CA56 #B7E456
triadic
#E4CA56 #56E4CA #CA56E4
tetradic
#E4CA56 #56E483 #5670E4 #E456B7
square
#E4CA56 #56E483 #5670E4 #E456B7
split-complementary
#E4CA56 #56B7E4 #8356E4
monochromatic
#A58C1A #DAB823 #E4CA56 #ECDB8B #F5EBC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CA56#FFFFFF#000000##000000
##E4CA561.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)
#DDC649
Deuteranopia (green-blind)
#E4CE5C
Tritanopia (blue-blind)
#F5BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4ca56;
/* rgb */ color: rgb(228, 202, 86);
/* oklch */ color: oklch(83.9% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#f0d98a',
    500: '#e4ca56',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca56;
$custom-light: #f0d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca56",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 49.014,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83927,
    "c": 0.13729,
    "h": 96.7
  },
  "luminance": 0.59407
}

Semantic roles & 50–950 ramp

primary
#E4CA56
secondary
#374BA7
accent
#35D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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