#E2CA60#E2CA60

#E2CA60 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.8% C 0.129 H 96.7°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#E2CA60
RGBrgb(226, 202, 96)
HSLhsl(49, 69%, 63%)
HSVhsv(49, 58%, 89%)
CMYKcmyk(0%, 10.6%, 57.5%, 11.4%)
CIE-LABlab(81.43, -4.33, 55.01)
CIE-LCHlch(81.43, 55.18, 94.50°)
OKLaboklab(83.85% -0.015 0.1278)
OKLCHoklch(83.85% 0.129 96.7)
XYZxyz(54.5980, 59.2568, 19.6259)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA60 #6078E2
analogous
#E28960 #E2CA60 #B9E260
triadic
#E2CA60 #60E2CA #CA60E2
tetradic
#E2CA60 #60E289 #6078E2 #E260B9
square
#E2CA60 #60E289 #6078E2 #E260B9
split-complementary
#E2CA60 #60B9E2 #8960E2
monochromatic
#A98F1F #D9B92C #E2CA60 #EBDB94 #F5EDC8

Accessibility & contrast

On white

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

On black

12.85
#E2CA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA60
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA60#FFFFFF#000000##000000
##E2CA601.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC655
Deuteranopia (green-blind)
#E2CE65
Tritanopia (blue-blind)
#F2BDB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca60;
/* rgb */ color: rgb(226, 202, 96);
/* oklch */ color: oklch(83.8% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#eed990',
    500: '#e2ca60',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca60;
$custom-light: #eed990;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca60",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 96
  },
  "hsl": {
    "h": 48.923,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83849,
    "c": 0.12869,
    "h": 96.7
  },
  "luminance": 0.59254
}

Semantic roles & 50–950 ramp

primary
#E2CA60
secondary
#3B50AB
accent
#37D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA60

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

Preview Lab → · Contrast checker → · Palette generator →

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