#E5CA58#E5CA58

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

Color values

HEX#E5CA58
RGBrgb(229, 202, 88)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 11.8%, 61.6%, 10.2%)
CIE-LABlab(81.62, -3.64, 58.90)
CIE-LCHlch(81.62, 59.01, 93.53°)
OKLaboklab(84.04% -0.0142 0.1351)
OKLCHoklch(84.04% 0.136 96)
XYZxyz(55.1975, 59.6063, 17.8284)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA58 #5873E5
analogous
#E58458 #E5CA58 #B9E558
triadic
#E5CA58 #58E5CA #CA58E5
tetradic
#E5CA58 #58E584 #5873E5 #E558B9
square
#E5CA58 #58E584 #5873E5 #E558B9
split-complementary
#E5CA58 #58B9E5 #8458E5
monochromatic
#A88D1A #DDB923 #E5CA58 #EDDB8D #F5ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CA58#FFFFFF#000000##000000
##E5CA581.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)
#DDC64B
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#F6BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e5ca58;
/* rgb */ color: rgb(229, 202, 88);
/* oklch */ color: oklch(84.0% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#f0d98b',
    500: '#e5ca58',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca58;
$custom-light: #f0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca58",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 48.511,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84039,
    "c": 0.13579,
    "h": 96
  },
  "luminance": 0.59604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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