#E2CA62#E2CA62

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

Color values

HEX#E2CA62
RGBrgb(226, 202, 98)
HSLhsl(49, 69%, 64%)
HSVhsv(49, 57%, 89%)
CMYKcmyk(0%, 10.6%, 56.6%, 11.4%)
CIE-LABlab(81.45, -4.18, 54.11)
CIE-LCHlch(81.45, 54.27, 94.42°)
OKLaboklab(83.87% -0.0144 0.1261)
OKLCHoklch(83.87% 0.127 96.5)
XYZxyz(54.6913, 59.2941, 20.1170)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA62 #627AE2
analogous
#E28A62 #E2CA62 #BAE262
triadic
#E2CA62 #62E2CA #CA62E2
tetradic
#E2CA62 #62E28A #627AE2 #E262BA
square
#E2CA62 #62E28A #627AE2 #E262BA
split-complementary
#E2CA62 #62BAE2 #8A62E2
monochromatic
#AA901F #D8B92E #E2CA62 #ECDB96 #F5EDC9

Accessibility & contrast

On white

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

On black

12.86
#E2CA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA62
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA62#FFFFFF#000000##000000
##E2CA621.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#F2BDB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca62;
/* rgb */ color: rgb(226, 202, 98);
/* oklch */ color: oklch(83.9% 0.127 96.5);
Tailwind
colors: {
  custom: {
    50: '#eed992',
    500: '#e2ca62',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca62;
$custom-light: #eed992;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca62",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 48.75,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83872,
    "c": 0.12692,
    "h": 96.5
  },
  "luminance": 0.59292
}

Semantic roles & 50–950 ramp

primary
#E2CA62
secondary
#3C51AC
accent
#38D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA62

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

Preview Lab → · Contrast checker → · Palette generator →

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