#E4CC55#E4CC55

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

Color values

HEX#E4CC55
RGBrgb(228, 204, 85)
HSLhsl(50, 73%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 10.5%, 62.7%, 10.6%)
CIE-LABlab(82.02, -5.27, 60.62)
CIE-LCHlch(82.02, 60.85, 94.97°)
OKLaboklab(84.32% -0.0191 0.1383)
OKLCHoklch(84.32% 0.14 97.9)
XYZxyz(55.2298, 60.3381, 17.3298)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC55 #556DE4
analogous
#E48555 #E4CC55 #B5E455
triadic
#E4CC55 #55E4CC #CC55E4
tetradic
#E4CC55 #55E485 #556DE4 #E455B5
square
#E4CC55 #55E485 #556DE4 #E455B5
split-complementary
#E4CC55 #55B5E4 #8555E4
monochromatic
#A48D1A #D9BB23 #E4CC55 #ECDC8A #F5ECBF

Accessibility & contrast

On white

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

On black

13.07
#E4CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC55
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC55#FFFFFF#000000##000000
##E4CC551.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc55;
/* rgb */ color: rgb(228, 204, 85);
/* oklch */ color: oklch(84.3% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e4cc55',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc55;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc55",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 49.93,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84324,
    "c": 0.13963,
    "h": 97.9
  },
  "luminance": 0.60336
}

Semantic roles & 50–950 ramp

primary
#E4CC55
secondary
#3649A7
accent
#32D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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