#E5CC58#E5CC58

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

Color values

HEX#E5CC58
RGBrgb(229, 204, 88)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 10.9%, 61.6%, 10.2%)
CIE-LABlab(82.14, -4.66, 59.46)
CIE-LCHlch(82.14, 59.65, 94.48°)
OKLaboklab(84.45% -0.0171 0.1363)
OKLCHoklch(84.45% 0.137 97.2)
XYZxyz(55.6698, 60.5509, 17.9858)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC58 #5871E5
analogous
#E58658 #E5CC58 #B7E558
triadic
#E5CC58 #58E5CC #CC58E5
tetradic
#E5CC58 #58E586 #5871E5 #E558B7
square
#E5CC58 #58E586 #5871E5 #E558B7
split-complementary
#E5CC58 #58B7E5 #8658E5
monochromatic
#A88F1A #DDBC23 #E5CC58 #EDDC8D #F5ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CC58#FFFFFF#000000##000000
##E5CC581.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)
#DFC74B
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#F6BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc58;
/* rgb */ color: rgb(229, 204, 88);
/* oklch */ color: oklch(84.4% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#f0db8c',
    500: '#e5cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc58;
$custom-light: #f0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc58",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 49.362,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84445,
    "c": 0.13732,
    "h": 97.2
  },
  "luminance": 0.60548
}

Semantic roles & 50–950 ramp

primary
#E5CC58
secondary
#374BAA
accent
#33D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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