#E5CA54#E5CA54

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

Color values

HEX#E5CA54
RGBrgb(229, 202, 84)
HSLhsl(49, 74%, 61%)
HSVhsv(49, 63%, 90%)
CMYKcmyk(0%, 11.8%, 63.3%, 10.2%)
CIE-LABlab(81.59, -3.89, 60.60)
CIE-LCHlch(81.59, 60.73, 93.67°)
OKLaboklab(84% -0.0154 0.1381)
OKLCHoklch(84% 0.139 96.3)
XYZxyz(55.0363, 59.5418, 16.9796)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA54 #546FE5
analogous
#E58254 #E5CA54 #B7E554
triadic
#E5CA54 #54E5CA #CA54E5
tetradic
#E5CA54 #54E582 #546FE5 #E554B7
square
#E5CA54 #54E582 #546FE5 #E554B7
split-complementary
#E5CA54 #54B7E5 #8254E5
monochromatic
#A58B19 #DBB821 #E5CA54 #EDDA89 #F5EBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CA54#FFFFFF#000000##000000
##E5CA541.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)
#DDC646
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#F6BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e5ca54;
/* rgb */ color: rgb(229, 202, 84);
/* oklch */ color: oklch(84.0% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#f1d989',
    500: '#e5ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca54;
$custom-light: #f1d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca54",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 48.828,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83999,
    "c": 0.13897,
    "h": 96.3
  },
  "luminance": 0.59539
}

Semantic roles & 50–950 ramp

primary
#E5CA54
secondary
#364BA8
accent
#35D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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