#E5CD57#E5CD57

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

Color values

HEX#E5CD57
RGBrgb(229, 205, 87)
HSLhsl(50, 73%, 62%)
HSVhsv(50, 62%, 90%)
CMYKcmyk(0%, 10.5%, 62%, 10.2%)
CIE-LABlab(82.38, -5.24, 60.17)
CIE-LCHlch(82.38, 60.40, 94.97°)
OKLaboklab(84.64% -0.0189 0.1376)
OKLCHoklch(84.64% 0.139 97.8)
XYZxyz(55.8671, 61.0113, 17.8486)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD57 #576FE5
analogous
#E58657 #E5CD57 #B6E557
triadic
#E5CD57 #57E5CD #CD57E5
tetradic
#E5CD57 #57E586 #576FE5 #E557B6
square
#E5CD57 #57E586 #576FE5 #E557B6
split-complementary
#E5CD57 #57B6E5 #8657E5
monochromatic
#A8901A #DDBD22 #E5CD57 #EDDD8C #F5EDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CD57#FFFFFF#000000##000000
##E5CD571.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)
#E0C84A
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#F6BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd57;
/* rgb */ color: rgb(229, 205, 87);
/* oklch */ color: oklch(84.6% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#f0db8b',
    500: '#e5cd57',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd57;
$custom-light: #f0db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd57",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 49.859,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84638,
    "c": 0.13891,
    "h": 97.8
  },
  "luminance": 0.61009
}

Semantic roles & 50–950 ramp

primary
#E5CD57
secondary
#374AAA
accent
#32D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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