#E8CC55#E8CC55

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

Color values

HEX#E8CC55
RGBrgb(232, 204, 85)
HSLhsl(49, 76%, 62%)
HSVhsv(49, 63%, 91%)
CMYKcmyk(0%, 12.1%, 63.4%, 9%)
CIE-LABlab(82.38, -3.60, 61.11)
CIE-LCHlch(82.38, 61.21, 93.37°)
OKLaboklab(84.69% -0.0146 0.1393)
OKLCHoklch(84.69% 0.14 96)
XYZxyz(56.5138, 61.0002, 17.3900)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC55 #5571E8
analogous
#E88255 #E8CC55 #BBE855
triadic
#E8CC55 #55E8CC #CC55E8
tetradic
#E8CC55 #55E882 #5571E8 #E855BB
square
#E8CC55 #55E882 #5571E8 #E855BB
split-complementary
#E8CC55 #55BBE8 #8255E8
monochromatic
#AB8F17 #E1BC1F #E8CC55 #EFDC8B #F7ECC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CC55#FFFFFF#000000##000000
##E8CC551.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)
#DFC847
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#F9BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc55;
/* rgb */ color: rgb(232, 204, 85);
/* oklch */ color: oklch(84.7% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#f3db8a',
    500: '#e8cc55',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc55;
$custom-light: #f3db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc55",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 48.571,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84691,
    "c": 0.14001,
    "h": 96
  },
  "luminance": 0.60997
}

Semantic roles & 50–950 ramp

primary
#E8CC55
secondary
#354BAD
accent
#34D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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