#E4CC50#E4CC50

#E4CC50 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.143 H 98.3°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E4CC50
RGBrgb(228, 204, 80)
HSLhsl(50, 73%, 60%)
HSVhsv(50, 65%, 89%)
CMYKcmyk(0%, 10.5%, 64.9%, 10.6%)
CIE-LABlab(81.98, -5.58, 62.69)
CIE-LCHlch(81.98, 62.94, 95.08°)
OKLaboklab(84.28% -0.0206 0.142)
OKLCHoklch(84.28% 0.143 98.3)
XYZxyz(55.0382, 60.2615, 16.3204)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC50 #5068E4
analogous
#E48250 #E4CC50 #B2E450
triadic
#E4CC50 #50E4CC #CC50E4
tetradic
#E4CC50 #50E482 #5068E4 #E450B2
square
#E4CC50 #50E482 #5068E4 #E450B2
split-complementary
#E4CC50 #50B2E4 #8250E4
monochromatic
#A18B19 #D6B821 #E4CC50 #ECDB85 #F4EBBA

Accessibility & contrast

On white

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

On black

13.05
#E4CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC50
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC50#FFFFFF#000000##000000
##E4CC501.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#F5BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc50;
/* rgb */ color: rgb(228, 204, 80);
/* oklch */ color: oklch(84.3% 0.143 98.3);
Tailwind
colors: {
  custom: {
    50: '#f0db87',
    500: '#e4cc50',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc50;
$custom-light: #f0db87;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc50",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 50.27,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84278,
    "c": 0.14346,
    "h": 98.3
  },
  "luminance": 0.60259
}

Semantic roles & 50–950 ramp

primary
#E4CC50
secondary
#3547A4
accent
#30D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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