#E4CC5A#E4CC5A

#E4CC5A is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.136 H 97.5°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E4CC5A
RGBrgb(228, 204, 90)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.5%, 60.5%, 10.6%)
CIE-LABlab(82.07, -4.95, 58.48)
CIE-LCHlch(82.07, 58.69, 94.83°)
OKLaboklab(84.37% -0.0176 0.1344)
OKLCHoklch(84.37% 0.136 97.5)
XYZxyz(55.4355, 60.4204, 18.4132)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC5A #5A72E4
analogous
#E4875A #E4CC5A #B7E45A
triadic
#E4CC5A #5AE4CC #CC5AE4
tetradic
#E4CC5A #5AE487 #5A72E4 #E45AB7
square
#E4CC5A #5AE487 #5A72E4 #E45AB7
split-complementary
#E4CC5A #5AB7E4 #875AE4
monochromatic
#A8901C #DBBC25 #E4CC5A #EDDC8F #F5EDC3

Accessibility & contrast

On white

1.61
#E4CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#E4CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC5A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC5A#FFFFFF#000000##000000
##E4CC5A1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F5BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc5a;
/* rgb */ color: rgb(228, 204, 90);
/* oklch */ color: oklch(84.4% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#f0db8d',
    500: '#e4cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc5a;
$custom-light: #f0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc5a",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 49.565,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84374,
    "c": 0.1356,
    "h": 97.5
  },
  "luminance": 0.60418
}

Semantic roles & 50–950 ramp

primary
#E4CC5A
secondary
#384CAA
accent
#33D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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