#E2CC58#E2CC58

#E2CC58 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.2% C 0.137 H 98.6°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#E2CC58
RGBrgb(226, 204, 88)
HSLhsl(50, 70%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 9.7%, 61.1%, 11.4%)
CIE-LABlab(81.87, -5.91, 59.10)
CIE-LCHlch(81.87, 59.39, 95.71°)
OKLaboklab(84.17% -0.0205 0.1356)
OKLCHoklch(84.17% 0.137 98.6)
XYZxyz(54.7206, 60.0615, 17.9413)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC58 #586EE2
analogous
#E28758 #E2CC58 #B3E258
triadic
#E2CC58 #58E2CC #CC58E2
tetradic
#E2CC58 #58E287 #586EE2 #E258B3
square
#E2CC58 #58E287 #586EE2 #E258B3
split-complementary
#E2CC58 #58B3E2 #8758E2
monochromatic
#A38E1C #D7BB25 #E2CC58 #EBDC8C #F4ECC0

Accessibility & contrast

On white

1.61
#E2CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#E2CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC58
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC58#FFFFFF#000000##000000
##E2CC581.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#F2BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc58;
/* rgb */ color: rgb(226, 204, 88);
/* oklch */ color: oklch(84.2% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#eedb8b',
    500: '#e2cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc58;
$custom-light: #eedb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc58",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 50.435,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84172,
    "c": 0.13709,
    "h": 98.6
  },
  "luminance": 0.60059
}

Semantic roles & 50–950 ramp

primary
#E2CC58
secondary
#384AA6
accent
#32D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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