#E8CC4D#E8CC4D

#E8CC4D is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.146 H 96.6°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E8CC4D
RGBrgb(232, 204, 77)
HSLhsl(49, 77%, 61%)
HSVhsv(49, 67%, 91%)
CMYKcmyk(0%, 12.1%, 66.8%, 9%)
CIE-LABlab(82.31, -4.07, 64.39)
CIE-LCHlch(82.31, 64.52, 93.62°)
OKLaboklab(84.62% -0.0169 0.145)
OKLCHoklch(84.62% 0.146 96.6)
XYZxyz(56.2138, 60.8802, 15.8098)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC4D #4D69E8
analogous
#E87E4D #E8CC4D #B7E84D
triadic
#E8CC4D #4DE8CC #CC4DE8
tetradic
#E8CC4D #4DE87E #4D69E8 #E84DB7
square
#E8CC4D #4DE87E #4D69E8 #E84DB7
split-complementary
#E8CC4D #4DB7E8 #7E4DE8
monochromatic
#A58B15 #DBB91C #E8CC4D #EFDC83 #F6EBB9

Accessibility & contrast

On white

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

On black

13.18
#E8CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC4D
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC4D#FFFFFF#000000##000000
##E8CC4D1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#FABDB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc4d;
/* rgb */ color: rgb(232, 204, 77);
/* oklch */ color: oklch(84.6% 0.146 96.6);
Tailwind
colors: {
  custom: {
    50: '#f3db85',
    500: '#e8cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc4d;
$custom-light: #f3db85;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc4d",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 49.161,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84619,
    "c": 0.14595,
    "h": 96.6
  },
  "luminance": 0.60877
}

Semantic roles & 50–950 ramp

primary
#E8CC4D
secondary
#3247A7
accent
#31D90C
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E8CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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