#E5CC5C#E5CC5C

#E5CC5C is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.134 H 96.8°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E5CC5C
RGBrgb(229, 204, 92)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 60%, 90%)
CMYKcmyk(0%, 10.9%, 59.8%, 10.2%)
CIE-LABlab(82.17, -4.39, 57.73)
CIE-LCHlch(82.17, 57.90, 94.35°)
OKLaboklab(84.49% -0.0159 0.1331)
OKLCHoklch(84.49% 0.134 96.8)
XYZxyz(55.8400, 60.6190, 18.8825)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC5C #5C75E5
analogous
#E5875C #E5CC5C #B9E55C
triadic
#E5CC5C #5CE5CC #CC5CE5
tetradic
#E5CC5C #5CE587 #5C75E5 #E55CB9
square
#E5CC5C #5CE587 #5C75E5 #E55CB9
split-complementary
#E5CC5C #5CB9E5 #875CE5
monochromatic
#AB911B #DDBB27 #E5CC5C #EDDD91 #F6EDC6

Accessibility & contrast

On white

1.60
#E5CC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#E5CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC5C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC5C#FFFFFF#000000##000000
##E5CC5C1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC850
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#F6BEB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc5c;
/* rgb */ color: rgb(229, 204, 92);
/* oklch */ color: oklch(84.5% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#f0db8e',
    500: '#e5cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc5c;
$custom-light: #f0db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc5c",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 49.051,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84486,
    "c": 0.13403,
    "h": 96.8
  },
  "luminance": 0.60616
}

Semantic roles & 50–950 ramp

primary
#E5CC5C
secondary
#384EAD
accent
#35D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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