#E8CC5A#E8CC5A

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

Color values

HEX#E8CC5A
RGBrgb(232, 204, 90)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.1%, 61.2%, 9%)
CIE-LABlab(82.42, -3.28, 58.98)
CIE-LCHlch(82.42, 59.07, 93.19°)
OKLaboklab(84.74% -0.0131 0.1354)
OKLCHoklch(84.74% 0.136 95.5)
XYZxyz(56.7195, 61.0825, 18.4734)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC5A #5A76E8
analogous
#E8855A #E8CC5A #BDE85A
triadic
#E8CC5A #5AE8CC #CC5AE8
tetradic
#E8CC5A #5AE885 #5A76E8 #E85ABD
square
#E8CC5A #5AE885 #5A76E8 #E85ABD
split-complementary
#E8CC5A #5ABDE8 #855AE8
monochromatic
#AF9118 #E1BB24 #E8CC5A #EFDD90 #F7EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #e8cc5a;
/* rgb */ color: rgb(232, 204, 90);
/* oklch */ color: oklch(84.7% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e8cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc5a;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc5a",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 48.169,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8474,
    "c": 0.13604,
    "h": 95.5
  },
  "luminance": 0.6108
}

Semantic roles & 50–950 ramp

primary
#E8CC5A
secondary
#364EB0
accent
#36D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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