#E2CA52#E2CA52

#E2CA52 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.140 H 97.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#E2CA52
RGBrgb(226, 202, 82)
HSLhsl(50, 71%, 60%)
HSVhsv(50, 64%, 89%)
CMYKcmyk(0%, 10.6%, 63.7%, 11.4%)
CIE-LABlab(81.30, -5.27, 61.08)
CIE-LCHlch(81.30, 61.30, 94.93°)
OKLaboklab(83.71% -0.0194 0.1389)
OKLCHoklch(83.71% 0.14 97.9)
XYZxyz(54.0099, 59.0215, 16.5284)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA52 #526AE2
analogous
#E28252 #E2CA52 #B2E252
triadic
#E2CA52 #52E2CA #CA52E2
tetradic
#E2CA52 #52E282 #526AE2 #E252B2
square
#E2CA52 #52E282 #526AE2 #E252B2
split-complementary
#E2CA52 #52B2E2 #8252E2
monochromatic
#9F891B #D3B623 #E2CA52 #EBDA86 #F4EABB

Accessibility & contrast

On white

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

On black

12.80
#E2CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA52
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA52#FFFFFF#000000##000000
##E2CA521.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca52;
/* rgb */ color: rgb(226, 202, 82);
/* oklch */ color: oklch(83.7% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#eed988',
    500: '#e2ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca52;
$custom-light: #eed988;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca52",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 50,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83705,
    "c": 0.14024,
    "h": 97.9
  },
  "luminance": 0.59019
}

Semantic roles & 50–950 ramp

primary
#E2CA52
secondary
#3648A2
accent
#32D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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