#E2CD52#E2CD52

#E2CD52 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.143 H 99.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E2CD52
RGBrgb(226, 205, 82)
HSLhsl(51, 71%, 60%)
HSVhsv(51, 64%, 89%)
CMYKcmyk(0%, 9.3%, 63.7%, 11.4%)
CIE-LABlab(82.08, -6.80, 61.90)
CIE-LCHlch(82.08, 62.28, 96.27°)
OKLaboklab(84.32% -0.0237 0.1407)
OKLCHoklch(84.32% 0.143 99.6)
XYZxyz(54.7206, 60.4430, 16.7653)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD52 #5267E2
analogous
#E28552 #E2CD52 #AFE252
triadic
#E2CD52 #52E2CD #CD52E2
tetradic
#E2CD52 #52E285 #5267E2 #E252AF
square
#E2CD52 #52E285 #5267E2 #E252AF
split-complementary
#E2CD52 #52AFE2 #8552E2
monochromatic
#9F8C1B #D3BA23 #E2CD52 #EBDC86 #F4EBBB

Accessibility & contrast

On white

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

On black

13.09
#E2CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD52
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD52#FFFFFF#000000##000000
##E2CD521.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E5D059
Tritanopia (blue-blind)
#F3BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd52;
/* rgb */ color: rgb(226, 205, 82);
/* oklch */ color: oklch(84.3% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#eedb88',
    500: '#e2cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd52;
$custom-light: #eedb88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd52",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 51.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84319,
    "c": 0.14265,
    "h": 99.6
  },
  "luminance": 0.60441
}

Semantic roles & 50–950 ramp

primary
#E2CD52
secondary
#3646A2
accent
#2ED312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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