#E5CC59#E5CC59

#E5CC59 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.137 H 97.1°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E5CC59
RGBrgb(229, 204, 89)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 61%, 90%)
CMYKcmyk(0%, 10.9%, 61.1%, 10.2%)
CIE-LABlab(82.15, -4.60, 59.03)
CIE-LCHlch(82.15, 59.21, 94.45°)
OKLaboklab(84.46% -0.0168 0.1355)
OKLCHoklch(84.46% 0.137 97.1)
XYZxyz(55.7115, 60.5676, 18.2054)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC59 #5972E5
analogous
#E58659 #E5CC59 #B8E559
triadic
#E5CC59 #59E5CC #CC59E5
tetradic
#E5CC59 #59E586 #5972E5 #E559B8
square
#E5CC59 #59E586 #5972E5 #E559B8
split-complementary
#E5CC59 #59B8E5 #8659E5
monochromatic
#A9901A #DDBC24 #E5CC59 #EDDC8E #F6EDC3

Accessibility & contrast

On white

1.60
#E5CC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#E5CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC59
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC59#FFFFFF#000000##000000
##E5CC591.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F6BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc59;
/* rgb */ color: rgb(229, 204, 89);
/* oklch */ color: oklch(84.5% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#f0db8c',
    500: '#e5cc59',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc59;
$custom-light: #f0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc59",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 49.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84455,
    "c": 0.13651,
    "h": 97.1
  },
  "luminance": 0.60565
}

Semantic roles & 50–950 ramp

primary
#E5CC59
secondary
#374CAB
accent
#34D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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