#E8CC5D#E8CC5D

#E8CC5D is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.134 H 95.2°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E8CC5D
RGBrgb(232, 204, 93)
HSLhsl(48, 75%, 64%)
HSVhsv(48, 60%, 91%)
CMYKcmyk(0%, 12.1%, 59.9%, 9%)
CIE-LABlab(82.45, -3.08, 57.67)
CIE-LCHlch(82.45, 57.75, 93.06°)
OKLaboklab(84.77% -0.0122 0.133)
OKLCHoklch(84.77% 0.134 95.2)
XYZxyz(56.8498, 61.1346, 19.1595)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC5D #5D79E8
analogous
#E8865D #E8CC5D #BEE85D
triadic
#E8CC5D #5DE8CC #CC5DE8
tetradic
#E8CC5D #5DE886 #5D79E8 #E85DBE
square
#E8CC5D #5DE886 #5D79E8 #E85DBE
split-complementary
#E8CC5D #5DBEE8 #865DE8
monochromatic
#B19319 #E0BB27 #E8CC5D #F0DD93 #F7EEC8

Accessibility & contrast

On white

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

On black

13.23
#E8CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC5D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC5D#FFFFFF#000000##000000
##E8CC5D1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC851
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#F9BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc5d;
/* rgb */ color: rgb(232, 204, 93);
/* oklch */ color: oklch(84.8% 0.134 95.2);
Tailwind
colors: {
  custom: {
    50: '#f2db8f',
    500: '#e8cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc5d;
$custom-light: #f2db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc5d",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 47.914,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84771,
    "c": 0.13357,
    "h": 95.2
  },
  "luminance": 0.61132
}

Semantic roles & 50–950 ramp

primary
#E8CC5D
secondary
#3750B2
accent
#37D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E8CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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