#E8CC58#E8CC58

#E8CC58 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.138 H 95.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E8CC58
RGBrgb(232, 204, 88)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 62%, 91%)
CMYKcmyk(0%, 12.1%, 62.1%, 9%)
CIE-LABlab(82.41, -3.41, 59.83)
CIE-LCHlch(82.41, 59.93, 93.27°)
OKLaboklab(84.72% -0.0137 0.137)
OKLCHoklch(84.72% 0.138 95.7)
XYZxyz(56.6355, 61.0489, 18.0311)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC58 #5874E8
analogous
#E88458 #E8CC58 #BCE858
triadic
#E8CC58 #58E8CC #CC58E8
tetradic
#E8CC58 #58E884 #5874E8 #E858BC
square
#E8CC58 #58E884 #5874E8 #E858BC
split-complementary
#E8CC58 #58BCE8 #8458E8
monochromatic
#AE9118 #E1BC22 #E8CC58 #EFDC8E #F7EDC4

Accessibility & contrast

On white

1.59
#E8CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E8CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC58
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC58#FFFFFF#000000##000000
##E8CC581.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#F9BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc58;
/* rgb */ color: rgb(232, 204, 88);
/* oklch */ color: oklch(84.7% 0.138 95.7);
Tailwind
colors: {
  custom: {
    50: '#f3db8c',
    500: '#e8cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc58;
$custom-light: #f3db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc58",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 48.333,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8472,
    "c": 0.13765,
    "h": 95.7
  },
  "luminance": 0.61046
}

Semantic roles & 50–950 ramp

primary
#E8CC58
secondary
#364DAF
accent
#35D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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