#E4CC5B#E4CC5B

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

Color values

HEX#E4CC5B
RGBrgb(228, 204, 91)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 10.5%, 60.1%, 10.6%)
CIE-LABlab(82.08, -4.88, 58.05)
CIE-LCHlch(82.08, 58.25, 94.80°)
OKLaboklab(84.38% -0.0173 0.1337)
OKLCHoklch(84.38% 0.135 97.4)
XYZxyz(55.4784, 60.4376, 18.6389)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC5B #5B73E4
analogous
#E4875B #E4CC5B #B8E45B
triadic
#E4CC5B #5BE4CC #CC5BE4
tetradic
#E4CC5B #5BE487 #5B73E4 #E45BB8
square
#E4CC5B #5BE487 #5B73E4 #E45BB8
split-complementary
#E4CC5B #5BB8E4 #875BE4
monochromatic
#A9901C #DBBC26 #E4CC5B #EDDC90 #F5EDC4

Accessibility & contrast

On white

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

On black

13.09
#E4CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC5B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC5B#FFFFFF#000000##000000
##E4CC5B1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc5b;
/* rgb */ color: rgb(228, 204, 91);
/* oklch */ color: oklch(84.4% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#f0db8d',
    500: '#e4cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc5b;
$custom-light: #f0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc5b",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 49.489,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84384,
    "c": 0.13477,
    "h": 97.4
  },
  "luminance": 0.60435
}

Semantic roles & 50–950 ramp

primary
#E4CC5B
secondary
#394DAB
accent
#34D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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