#E8CC59#E8CC59

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

Color values

HEX#E8CC59
RGBrgb(232, 204, 89)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 62%, 91%)
CMYKcmyk(0%, 12.1%, 61.6%, 9%)
CIE-LABlab(82.41, -3.35, 59.41)
CIE-LCHlch(82.41, 59.50, 93.23°)
OKLaboklab(84.73% -0.0134 0.1362)
OKLCHoklch(84.73% 0.137 95.6)
XYZxyz(56.6772, 61.0656, 18.2507)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC59 #5975E8
analogous
#E88559 #E8CC59 #BCE859
triadic
#E8CC59 #59E8CC #CC59E8
tetradic
#E8CC59 #59E885 #5975E8 #E859BC
square
#E8CC59 #59E885 #5975E8 #E859BC
split-complementary
#E8CC59 #59BCE8 #8559E8
monochromatic
#AE9118 #E1BB23 #E8CC59 #EFDD8F #F7EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CC59#FFFFFF#000000##000000
##E8CC591.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)
#DFC84C
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#F9BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc59;
/* rgb */ color: rgb(232, 204, 89);
/* oklch */ color: oklch(84.7% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#f3db8c',
    500: '#e8cc59',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc59;
$custom-light: #f3db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc59",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 48.252,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.13685,
    "h": 95.6
  },
  "luminance": 0.61063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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