#E3CA52#E3CA52

#E3CA52 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.140 H 97.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#E3CA52
RGBrgb(227, 202, 82)
HSLhsl(50, 72%, 61%)
HSVhsv(50, 64%, 89%)
CMYKcmyk(0%, 11%, 63.9%, 11%)
CIE-LABlab(81.39, -4.85, 61.20)
CIE-LCHlch(81.39, 61.39, 94.53°)
OKLaboklab(83.8% -0.0182 0.1391)
OKLCHoklch(83.8% 0.14 97.5)
XYZxyz(54.3245, 59.1837, 16.5431)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3CA52 #526BE3
analogous
#E38152 #E3CA52 #B3E352
triadic
#E3CA52 #52E3CA #CA52E3
tetradic
#E3CA52 #52E381 #526BE3 #E352B3
square
#E3CA52 #52E381 #526BE3 #E352B3
split-complementary
#E3CA52 #52B3E3 #8152E3
monochromatic
#A1891A #D5B623 #E3CA52 #ECDA87 #F4EABB

Accessibility & contrast

On white

1.64
#E3CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#E3CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3CA52
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3CA52#FFFFFF#000000##000000
##E3CA521.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#F4BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e3ca52;
/* rgb */ color: rgb(227, 202, 82);
/* oklch */ color: oklch(83.8% 0.140 97.5);
Tailwind
colors: {
  custom: {
    50: '#efd988',
    500: '#e3ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e3ca52;
$custom-light: #efd988;
$custom-dark: #000000;
JSON
{
  "hex": "#e3ca52",
  "rgb": {
    "r": 227,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 49.655,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83797,
    "c": 0.14033,
    "h": 97.5
  },
  "luminance": 0.59181
}

Semantic roles & 50–950 ramp

primary
#E3CA52
secondary
#3649A3
accent
#33D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E3CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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