#E1CA52#E1CA52

#E1CA52 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.140 H 98.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#E1CA52
RGBrgb(225, 202, 82)
HSLhsl(50, 70%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 10.2%, 63.6%, 11.8%)
CIE-LABlab(81.21, -5.69, 60.95)
CIE-LCHlch(81.21, 61.22, 95.33°)
OKLaboklab(83.61% -0.0205 0.1387)
OKLCHoklch(83.61% 0.14 98.4)
XYZxyz(53.6972, 58.8603, 16.5137)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CA52 #5269E1
analogous
#E18352 #E1CA52 #B0E152
triadic
#E1CA52 #52E1CA #CA52E1
tetradic
#E1CA52 #52E183 #5269E1 #E152B0
square
#E1CA52 #52E183 #5269E1 #E152B0
split-complementary
#E1CA52 #52B0E1 #8352E1
monochromatic
#9D881B #D1B624 #E1CA52 #EADA86 #F3EABA

Accessibility & contrast

On white

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

On black

12.77
#E1CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CA52
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CA52#FFFFFF#000000##000000
##E1CA521.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#F2BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e1ca52;
/* rgb */ color: rgb(225, 202, 82);
/* oklch */ color: oklch(83.6% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#eed988',
    500: '#e1ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e1ca52;
$custom-light: #eed988;
$custom-dark: #000000;
JSON
{
  "hex": "#e1ca52",
  "rgb": {
    "r": 225,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 50.35,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83614,
    "c": 0.14018,
    "h": 98.4
  },
  "luminance": 0.58858
}

Semantic roles & 50–950 ramp

primary
#E1CA52
secondary
#3748A1
accent
#32D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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