#E2CA61#E2CA61

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

Color values

HEX#E2CA61
RGBrgb(226, 202, 97)
HSLhsl(49, 69%, 63%)
HSVhsv(49, 57%, 89%)
CMYKcmyk(0%, 10.6%, 57.1%, 11.4%)
CIE-LABlab(81.44, -4.25, 54.56)
CIE-LCHlch(81.44, 54.73, 94.46°)
OKLaboklab(83.86% -0.0147 0.127)
OKLCHoklch(83.86% 0.128 96.6)
XYZxyz(54.6444, 59.2753, 19.8699)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA61 #6179E2
analogous
#E28961 #E2CA61 #B9E261
triadic
#E2CA61 #61E2CA #CA61E2
tetradic
#E2CA61 #61E289 #6179E2 #E261B9
square
#E2CA61 #61E289 #6179E2 #E261B9
split-complementary
#E2CA61 #61B9E2 #8961E2
monochromatic
#A9901F #D9B92D #E2CA61 #EBDB95 #F5EDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA61#FFFFFF#000000##000000
##E2CA611.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)
#DCC657
Deuteranopia (green-blind)
#E2CE66
Tritanopia (blue-blind)
#F2BDB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca61;
/* rgb */ color: rgb(226, 202, 97);
/* oklch */ color: oklch(83.9% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#eed991',
    500: '#e2ca61',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca61;
$custom-light: #eed991;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca61",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 97
  },
  "hsl": {
    "h": 48.837,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8386,
    "c": 0.12781,
    "h": 96.6
  },
  "luminance": 0.59273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2CA61

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

Preview Lab → · Contrast checker → · Palette generator →

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