#E8CC5E#E8CC5E

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

Color values

HEX#E8CC5E
RGBrgb(232, 204, 94)
HSLhsl(48, 75%, 64%)
HSVhsv(48, 59%, 91%)
CMYKcmyk(0%, 12.1%, 59.5%, 9%)
CIE-LABlab(82.46, -3.01, 57.23)
CIE-LCHlch(82.46, 57.31, 93.01°)
OKLaboklab(84.78% -0.0119 0.1322)
OKLCHoklch(84.78% 0.133 95.1)
XYZxyz(56.8944, 61.1524, 19.3943)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC5E #5E7AE8
analogous
#E8875E #E8CC5E #BFE85E
triadic
#E8CC5E #5EE8CC #CC5EE8
tetradic
#E8CC5E #5EE887 #5E7AE8 #E85EBF
square
#E8CC5E #5EE887 #5E7AE8 #E85EBF
split-complementary
#E8CC5E #5EBFE8 #875EE8
monochromatic
#B29319 #E0BB28 #E8CC5E #F0DD94 #F7EEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CC5E#FFFFFF#000000##000000
##E8CC5E1.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)
#DFC853
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#F9BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc5e;
/* rgb */ color: rgb(232, 204, 94);
/* oklch */ color: oklch(84.8% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#f2db8f',
    500: '#e8cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc5e;
$custom-light: #f2db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc5e",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 47.826,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84782,
    "c": 0.13272,
    "h": 95.1
  },
  "luminance": 0.6115
}

Semantic roles & 50–950 ramp

primary
#E8CC5E
secondary
#3851B3
accent
#37D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E8CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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