#E0CA52#E0CA52

#E0CA52 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.140 H 98.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#E0CA52
RGBrgb(224, 202, 82)
HSLhsl(51, 70%, 60%)
HSVhsv(51, 63%, 88%)
CMYKcmyk(0%, 9.8%, 63.4%, 12.2%)
CIE-LABlab(81.13, -6.11, 60.83)
CIE-LCHlch(81.13, 61.14, 95.73°)
OKLaboklab(83.52% -0.0216 0.1385)
OKLCHoklch(83.52% 0.14 98.9)
XYZxyz(53.3863, 58.6999, 16.4992)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA52 #5268E0
analogous
#E08352 #E0CA52 #AFE052
triadic
#E0CA52 #52E0CA #CA52E0
tetradic
#E0CA52 #52E083 #5268E0 #E052AF
square
#E0CA52 #52E083 #5268E0 #E052AF
split-complementary
#E0CA52 #52AFE0 #8352E0
monochromatic
#9C881C #D0B525 #E0CA52 #E9DA86 #F3EABA

Accessibility & contrast

On white

1.65
#E0CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#E0CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA52
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA52#FFFFFF#000000##000000
##E0CA521.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#F0BCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e0ca52;
/* rgb */ color: rgb(224, 202, 82);
/* oklch */ color: oklch(83.5% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#edd988',
    500: '#e0ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca52;
$custom-light: #edd988;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca52",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 50.704,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.14013,
    "h": 98.9
  },
  "luminance": 0.58698
}

Semantic roles & 50–950 ramp

primary
#E0CA52
secondary
#37479F
accent
#57EC3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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