#E8CC5C#E8CC5C

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

Color values

HEX#E8CC5C
RGBrgb(232, 204, 92)
HSLhsl(48, 75%, 64%)
HSVhsv(48, 60%, 91%)
CMYKcmyk(0%, 12.1%, 60.3%, 9%)
CIE-LABlab(82.44, -3.15, 58.11)
CIE-LCHlch(82.44, 58.19, 93.10°)
OKLaboklab(84.76% -0.0125 0.1338)
OKLCHoklch(84.76% 0.134 95.3)
XYZxyz(56.8058, 61.1170, 18.9277)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC5C #5C78E8
analogous
#E8865C #E8CC5C #BEE85C
triadic
#E8CC5C #5CE8CC #CC5CE8
tetradic
#E8CC5C #5CE886 #5C78E8 #E85CBE
square
#E8CC5C #5CE886 #5C78E8 #E85CBE
split-complementary
#E8CC5C #5CBEE8 #865CE8
monochromatic
#B19219 #E0BB26 #E8CC5C #F0DD92 #F7EEC7

Accessibility & contrast

On white

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

On black

13.22
#E8CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC5C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC5C#FFFFFF#000000##000000
##E8CC5C1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cc5c;
/* rgb */ color: rgb(232, 204, 92);
/* oklch */ color: oklch(84.8% 0.134 95.3);
Tailwind
colors: {
  custom: {
    50: '#f2db8e',
    500: '#e8cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc5c;
$custom-light: #f2db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc5c",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 48,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84761,
    "c": 0.1344,
    "h": 95.3
  },
  "luminance": 0.61114
}

Semantic roles & 50–950 ramp

primary
#E8CC5C
secondary
#374FB1
accent
#36D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E8CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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