#E5CC56#E5CC56

#E5CC56 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.139 H 97.3°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E5CC56
RGBrgb(229, 204, 86)
HSLhsl(50, 73%, 62%)
HSVhsv(50, 62%, 90%)
CMYKcmyk(0%, 10.9%, 62.4%, 10.2%)
CIE-LABlab(82.12, -4.79, 60.32)
CIE-LCHlch(82.12, 60.51, 94.54°)
OKLaboklab(84.43% -0.0177 0.1378)
OKLCHoklch(84.43% 0.139 97.3)
XYZxyz(55.5881, 60.5182, 17.5555)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC56 #566FE5
analogous
#E58456 #E5CC56 #B7E556
triadic
#E5CC56 #56E5CC #CC56E5
tetradic
#E5CC56 #56E584 #566FE5 #E556B7
square
#E5CC56 #56E584 #566FE5 #E556B7
split-complementary
#E5CC56 #56B7E5 #8456E5
monochromatic
#A78E1A #DCBB22 #E5CC56 #EDDC8B #F5ECC0

Accessibility & contrast

On white

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

On black

13.10
#E5CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC56
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC56#FFFFFF#000000##000000
##E5CC561.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC749
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#F6BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc56;
/* rgb */ color: rgb(229, 204, 86);
/* oklch */ color: oklch(84.4% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e5cc56',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc56;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc56",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 49.51,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84425,
    "c": 0.13892,
    "h": 97.3
  },
  "luminance": 0.60516
}

Semantic roles & 50–950 ramp

primary
#E5CC56
secondary
#364AA9
accent
#33D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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