#E4CA52#E4CA52

#E4CA52 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.140 H 97.0°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#E4CA52
RGBrgb(228, 202, 82)
HSLhsl(49, 73%, 61%)
HSVhsv(49, 64%, 89%)
CMYKcmyk(0%, 11.4%, 64%, 10.6%)
CIE-LABlab(81.48, -4.43, 61.32)
CIE-LCHlch(81.48, 61.48, 94.13°)
OKLaboklab(83.89% -0.0171 0.1394)
OKLCHoklch(83.89% 0.14 97)
XYZxyz(54.6409, 59.3469, 16.5580)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA52 #526CE4
analogous
#E48152 #E4CA52 #B5E452
triadic
#E4CA52 #52E4CA #CA52E4
tetradic
#E4CA52 #52E481 #526CE4 #E452B5
square
#E4CA52 #52E481 #526CE4 #E452B5
split-complementary
#E4CA52 #52B5E4 #8152E4
monochromatic
#A28A19 #D7B722 #E4CA52 #ECDA87 #F5EABC

Accessibility & contrast

On white

1.63
#E4CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#E4CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA52
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA52#FFFFFF#000000##000000
##E4CA521.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#F5BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4ca52;
/* rgb */ color: rgb(228, 202, 82);
/* oklch */ color: oklch(83.9% 0.140 97.0);
Tailwind
colors: {
  custom: {
    50: '#f0d988',
    500: '#e4ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca52;
$custom-light: #f0d988;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca52",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 49.315,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83889,
    "c": 0.14041,
    "h": 97
  },
  "luminance": 0.59344
}

Semantic roles & 50–950 ramp

primary
#E4CA52
secondary
#3549A5
accent
#33D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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