#E4CC56#E4CC56

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

Color values

HEX#E4CC56
RGBrgb(228, 204, 86)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 62%, 89%)
CMYKcmyk(0%, 10.5%, 62.3%, 10.6%)
CIE-LABlab(82.03, -5.21, 60.19)
CIE-LCHlch(82.03, 60.42, 94.94°)
OKLaboklab(84.33% -0.0188 0.1376)
OKLCHoklch(84.33% 0.139 97.8)
XYZxyz(55.2698, 60.3541, 17.5405)
Luminance0.6035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC56 #566EE4
analogous
#E48556 #E4CC56 #B5E456
triadic
#E4CC56 #56E4CC #CC56E4
tetradic
#E4CC56 #56E485 #566EE4 #E456B5
square
#E4CC56 #56E485 #566EE4 #E456B5
split-complementary
#E4CC56 #56B5E4 #8556E4
monochromatic
#A58E1A #DABB23 #E4CC56 #ECDC8B #F5ECC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CC56#FFFFFF#000000##000000
##E4CC561.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)
#DFC749
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#F5BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc56;
/* rgb */ color: rgb(228, 204, 86);
/* oklch */ color: oklch(84.3% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e4cc56',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc56;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc56",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 49.859,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84334,
    "c": 0.13884,
    "h": 97.8
  },
  "luminance": 0.60352
}

Semantic roles & 50–950 ramp

primary
#E4CC56
secondary
#374AA7
accent
#32D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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