#E5CD52#E5CD52

#E5CD52 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.143 H 98.2°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#E5CD52
RGBrgb(229, 205, 82)
HSLhsl(50, 74%, 61%)
HSVhsv(50, 64%, 90%)
CMYKcmyk(0%, 10.5%, 64.2%, 10.2%)
CIE-LABlab(82.34, -5.55, 62.26)
CIE-LCHlch(82.34, 62.51, 95.09°)
OKLaboklab(84.59% -0.0203 0.1413)
OKLCHoklch(84.59% 0.143 98.2)
XYZxyz(55.6698, 60.9324, 16.8098)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD52 #526AE5
analogous
#E58352 #E5CD52 #B3E552
triadic
#E5CD52 #52E5CD #CD52E5
tetradic
#E5CD52 #52E583 #526AE5 #E552B3
square
#E5CD52 #52E583 #526AE5 #E552B3
split-complementary
#E5CD52 #52B3E5 #8352E5
monochromatic
#A48D19 #D9BB21 #E5CD52 #EDDC87 #F5ECBC

Accessibility & contrast

On white

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

On black

13.19
#E5CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD52
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD52#FFFFFF#000000##000000
##E5CD521.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#F6BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd52;
/* rgb */ color: rgb(229, 205, 82);
/* oklch */ color: oklch(84.6% 0.143 98.2);
Tailwind
colors: {
  custom: {
    50: '#f1db88',
    500: '#e5cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd52;
$custom-light: #f1db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd52",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 50.204,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84591,
    "c": 0.1428,
    "h": 98.2
  },
  "luminance": 0.6093
}

Semantic roles & 50–950 ramp

primary
#E5CD52
secondary
#3547A6
accent
#30D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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