#E5CC5B#E5CC5B

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

Color values

HEX#E5CC5B
RGBrgb(229, 204, 91)
HSLhsl(49, 73%, 63%)
HSVhsv(49, 60%, 90%)
CMYKcmyk(0%, 10.9%, 60.3%, 10.2%)
CIE-LABlab(82.16, -4.46, 58.17)
CIE-LCHlch(82.16, 58.34, 94.39°)
OKLaboklab(84.48% -0.0162 0.1339)
OKLCHoklch(84.48% 0.135 96.9)
XYZxyz(55.7966, 60.6016, 18.6538)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC5B #5B74E5
analogous
#E5875B #E5CC5B #B9E55B
triadic
#E5CC5B #5BE5CC #CC5BE5
tetradic
#E5CC5B #5BE587 #5B74E5 #E55BB9
square
#E5CC5B #5BE587 #5B74E5 #E55BB9
split-complementary
#E5CC5B #5BB9E5 #875BE5
monochromatic
#AB911B #DDBC26 #E5CC5B #EDDC90 #F6EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CC5B#FFFFFF#000000##000000
##E5CC5B1.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)
#DEC84F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F6BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc5b;
/* rgb */ color: rgb(229, 204, 91);
/* oklch */ color: oklch(84.5% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#f0db8d',
    500: '#e5cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc5b;
$custom-light: #f0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc5b",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 49.13,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84475,
    "c": 0.13487,
    "h": 96.9
  },
  "luminance": 0.60599
}

Semantic roles & 50–950 ramp

primary
#E5CC5B
secondary
#384DAC
accent
#34D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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