#E8CC54#E8CC54

#E8CC54 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.141 H 96.1°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#E8CC54
RGBrgb(232, 204, 84)
HSLhsl(49, 76%, 62%)
HSVhsv(49, 64%, 91%)
CMYKcmyk(0%, 12.1%, 63.8%, 9%)
CIE-LABlab(82.37, -3.66, 61.53)
CIE-LCHlch(82.37, 61.64, 93.41°)
OKLaboklab(84.68% -0.0149 0.14)
OKLCHoklch(84.68% 0.141 96.1)
XYZxyz(56.4744, 60.9844, 17.1823)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC54 #5470E8
analogous
#E88254 #E8CC54 #BAE854
triadic
#E8CC54 #54E8CC #CC54E8
tetradic
#E8CC54 #54E882 #5470E8 #E854BA
square
#E8CC54 #54E882 #5470E8 #E854BA
split-complementary
#E8CC54 #54BAE8 #8254E8
monochromatic
#AB8F17 #E1BC1E #E8CC54 #EFDC8A #F7ECC0

Accessibility & contrast

On white

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

On black

13.20
#E8CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC54
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC54#FFFFFF#000000##000000
##E8CC541.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC846
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#F9BDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc54;
/* rgb */ color: rgb(232, 204, 84);
/* oklch */ color: oklch(84.7% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#f3db89',
    500: '#e8cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc54;
$custom-light: #f3db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc54",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 48.649,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84682,
    "c": 0.14078,
    "h": 96.1
  },
  "luminance": 0.60982
}

Semantic roles & 50–950 ramp

primary
#E8CC54
secondary
#344BAC
accent
#34D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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