#E5CC5A#E5CC5A

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

Color values

HEX#E5CC5A
RGBrgb(229, 204, 90)
HSLhsl(49, 73%, 63%)
HSVhsv(49, 61%, 90%)
CMYKcmyk(0%, 10.9%, 60.7%, 10.2%)
CIE-LABlab(82.15, -4.53, 58.60)
CIE-LCHlch(82.15, 58.78, 94.42°)
OKLaboklab(84.47% -0.0165 0.1347)
OKLCHoklch(84.47% 0.136 97)
XYZxyz(55.7538, 60.5845, 18.4281)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC5A #5A73E5
analogous
#E5875A #E5CC5A #B8E55A
triadic
#E5CC5A #5AE5CC #CC5AE5
tetradic
#E5CC5A #5AE587 #5A73E5 #E55AB8
square
#E5CC5A #5AE587 #5A73E5 #E55AB8
split-complementary
#E5CC5A #5AB8E5 #875AE5
monochromatic
#AA901B #DDBC25 #E5CC5A #EDDC8F #F6EDC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #e5cc5a;
/* rgb */ color: rgb(229, 204, 90);
/* oklch */ color: oklch(84.5% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#f0db8d',
    500: '#e5cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc5a;
$custom-light: #f0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc5a",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 49.209,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84465,
    "c": 0.1357,
    "h": 97
  },
  "luminance": 0.60582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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