#E0CD52#E0CD52

#E0CD52 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.143 H 100.5°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#E0CD52
RGBrgb(224, 205, 82)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 63%, 88%)
CMYKcmyk(0%, 8.5%, 63.4%, 12.2%)
CIE-LABlab(81.90, -7.64, 61.67)
CIE-LCHlch(81.90, 62.14, 97.06°)
OKLaboklab(84.14% -0.026 0.1402)
OKLCHoklch(84.14% 0.143 100.5)
XYZxyz(54.0970, 60.1214, 16.7361)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CD52 #5265E0
analogous
#E08652 #E0CD52 #ACE052
triadic
#E0CD52 #52E0CD #CD52E0
tetradic
#E0CD52 #52E086 #5265E0 #E052AC
square
#E0CD52 #52E086 #5265E0 #E052AC
split-complementary
#E0CD52 #52ACE0 #8652E0
monochromatic
#9C8B1C #D0B925 #E0CD52 #E9DC86 #F3EBBA

Accessibility & contrast

On white

1.61
#E0CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#E0CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CD52
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CD52#FFFFFF#000000##000000
##E0CD521.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#F0BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0cd52;
/* rgb */ color: rgb(224, 205, 82);
/* oklch */ color: oklch(84.1% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#eddb88',
    500: '#e0cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e0cd52;
$custom-light: #eddb88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cd52",
  "rgb": {
    "r": 224,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 51.972,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.8414,
    "c": 0.1426,
    "h": 100.5
  },
  "luminance": 0.60119
}

Semantic roles & 50–950 ramp

primary
#E0CD52
secondary
#37459F
accent
#53EC3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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