#E5CC57#E5CC57

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

Color values

HEX#E5CC57
RGBrgb(229, 204, 87)
HSLhsl(49, 73%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 10.9%, 62%, 10.2%)
CIE-LABlab(82.13, -4.73, 59.89)
CIE-LCHlch(82.13, 60.08, 94.51°)
OKLaboklab(84.44% -0.0174 0.137)
OKLCHoklch(84.44% 0.138 97.2)
XYZxyz(55.6286, 60.5345, 17.7691)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC57 #5770E5
analogous
#E58557 #E5CC57 #B7E557
triadic
#E5CC57 #57E5CC #CC57E5
tetradic
#E5CC57 #57E585 #5770E5 #E557B7
square
#E5CC57 #57E585 #5770E5 #E557B7
split-complementary
#E5CC57 #57B7E5 #8557E5
monochromatic
#A88F1A #DDBC22 #E5CC57 #EDDC8C #F5ECC1

Accessibility & contrast

On white

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

On black

13.11
#E5CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC57
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC57#FFFFFF#000000##000000
##E5CC571.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc57;
/* rgb */ color: rgb(229, 204, 87);
/* oklch */ color: oklch(84.4% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#f0db8b',
    500: '#e5cc57',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc57;
$custom-light: #f0db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc57",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 49.437,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84435,
    "c": 0.13812,
    "h": 97.2
  },
  "luminance": 0.60532
}

Semantic roles & 50–950 ramp

primary
#E5CC57
secondary
#374BAA
accent
#33D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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