#E5CC5D#E5CC5D

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

Color values

HEX#E5CC5D
RGBrgb(229, 204, 93)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 59%, 90%)
CMYKcmyk(0%, 10.9%, 59.4%, 10.2%)
CIE-LABlab(82.18, -4.33, 57.30)
CIE-LCHlch(82.18, 57.46, 94.32°)
OKLaboklab(84.5% -0.0156 0.1323)
OKLCHoklch(84.5% 0.133 96.7)
XYZxyz(55.8840, 60.6366, 19.1142)
Luminance0.6063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC5D #5D76E5
analogous
#E5885D #E5CC5D #BAE55D
triadic
#E5CC5D #5DE5CC #CC5DE5
tetradic
#E5CC5D #5DE588 #5D76E5 #E55DBA
square
#E5CC5D #5DE588 #5D76E5 #E55DBA
split-complementary
#E5CC5D #5DBAE5 #885DE5
monochromatic
#AC911C #DDBB28 #E5CC5D #EDDD92 #F6EDC6

Accessibility & contrast

On white

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

On black

13.13
#E5CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC5D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC5D#FFFFFF#000000##000000
##E5CC5D1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc5d;
/* rgb */ color: rgb(229, 204, 93);
/* oklch */ color: oklch(84.5% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#f0db8f',
    500: '#e5cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc5d;
$custom-light: #f0db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc5d",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 48.971,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84496,
    "c": 0.13319,
    "h": 96.7
  },
  "luminance": 0.60634
}

Semantic roles & 50–950 ramp

primary
#E5CC5D
secondary
#394EAD
accent
#35D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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