#E4CA58#E4CA58

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

Color values

HEX#E4CA58
RGBrgb(228, 202, 88)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 11.4%, 61.4%, 10.6%)
CIE-LABlab(81.53, -4.05, 58.78)
CIE-LCHlch(81.53, 58.92, 93.95°)
OKLaboklab(83.95% -0.0153 0.1348)
OKLCHoklch(83.95% 0.136 96.5)
XYZxyz(54.8792, 59.4422, 17.8134)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA58 #5872E4
analogous
#E48458 #E4CA58 #B8E458
triadic
#E4CA58 #58E4CA #CA58E4
tetradic
#E4CA58 #58E484 #5872E4 #E458B8
square
#E4CA58 #58E484 #5872E4 #E458B8
split-complementary
#E4CA58 #58B8E4 #8458E4
monochromatic
#A78D1B #DBB923 #E4CA58 #EDDB8D #F5EBC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CA58#FFFFFF#000000##000000
##E4CA581.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)
#DDC64B
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#F5BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4ca58;
/* rgb */ color: rgb(228, 202, 88);
/* oklch */ color: oklch(83.9% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#f0d98b',
    500: '#e4ca58',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca58;
$custom-light: #f0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca58",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 48.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83947,
    "c": 0.13568,
    "h": 96.5
  },
  "luminance": 0.5944
}

Semantic roles & 50–950 ramp

primary
#E4CA58
secondary
#374DA9
accent
#35D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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