#E8CC57#E8CC57

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

Color values

HEX#E8CC57
RGBrgb(232, 204, 87)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 12.1%, 62.5%, 9%)
CIE-LABlab(82.40, -3.48, 60.26)
CIE-LCHlch(82.40, 60.36, 93.30°)
OKLaboklab(84.71% -0.014 0.1377)
OKLCHoklch(84.71% 0.138 95.8)
XYZxyz(56.5944, 61.0324, 17.8144)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC57 #5773E8
analogous
#E88457 #E8CC57 #BBE857
triadic
#E8CC57 #57E8CC #CC57E8
tetradic
#E8CC57 #57E884 #5773E8 #E857BB
square
#E8CC57 #57E884 #5773E8 #E857BB
split-complementary
#E8CC57 #57BBE8 #8457E8
monochromatic
#AD9018 #E1BC21 #E8CC57 #EFDC8D #F7EDC3

Accessibility & contrast

On white

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

On black

13.21
#E8CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC57
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC57#FFFFFF#000000##000000
##E8CC571.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#F9BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc57;
/* rgb */ color: rgb(232, 204, 87);
/* oklch */ color: oklch(84.7% 0.138 95.8);
Tailwind
colors: {
  custom: {
    50: '#f3db8b',
    500: '#e8cc57',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc57;
$custom-light: #f3db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc57",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 48.414,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8471,
    "c": 0.13844,
    "h": 95.8
  },
  "luminance": 0.6103
}

Semantic roles & 50–950 ramp

primary
#E8CC57
secondary
#354DAE
accent
#35D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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