#E5CD56#E5CD56

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

Color values

HEX#E5CD56
RGBrgb(229, 205, 86)
HSLhsl(50, 73%, 62%)
HSVhsv(50, 62%, 90%)
CMYKcmyk(0%, 10.5%, 62.4%, 10.2%)
CIE-LABlab(82.38, -5.30, 60.60)
CIE-LCHlch(82.38, 60.83, 95.00°)
OKLaboklab(84.63% -0.0192 0.1384)
OKLCHoklch(84.63% 0.14 97.9)
XYZxyz(55.8265, 60.9951, 17.6349)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD56 #566EE5
analogous
#E58656 #E5CD56 #B6E556
triadic
#E5CD56 #56E5CD #CD56E5
tetradic
#E5CD56 #56E586 #566EE5 #E556B6
square
#E5CD56 #56E586 #566EE5 #E556B6
split-complementary
#E5CD56 #56B6E5 #8656E5
monochromatic
#A78F1A #DCBD22 #E5CD56 #EDDD8B #F5ECC0

Accessibility & contrast

On white

1.59
#E5CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#E5CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD56
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD56#FFFFFF#000000##000000
##E5CD561.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#F6BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd56;
/* rgb */ color: rgb(229, 205, 86);
/* oklch */ color: oklch(84.6% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e5cd56',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd56;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd56",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 49.93,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84629,
    "c": 0.1397,
    "h": 97.9
  },
  "luminance": 0.60993
}

Semantic roles & 50–950 ramp

primary
#E5CD56
secondary
#364AA9
accent
#31D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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