#E2CA66#E2CA66

#E2CA66 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.9% C 0.123 H 96.1°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#E2CA66
RGBrgb(226, 202, 102)
HSLhsl(48, 68%, 64%)
HSVhsv(48, 55%, 89%)
CMYKcmyk(0%, 10.6%, 54.9%, 11.4%)
CIE-LABlab(81.50, -3.87, 52.29)
CIE-LCHlch(81.50, 52.44, 94.24°)
OKLaboklab(83.92% -0.013 0.1226)
OKLCHoklch(83.92% 0.123 96.1)
XYZxyz(54.8849, 59.3715, 21.1366)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA66 #667EE2
analogous
#E28C66 #E2CA66 #BCE266
triadic
#E2CA66 #66E2CA #CA66E2
tetradic
#E2CA66 #66E28C #667EE2 #E266BC
square
#E2CA66 #66E28C #667EE2 #E266BC
split-complementary
#E2CA66 #66BCE2 #8C66E2
monochromatic
#AD9221 #D8B833 #E2CA66 #ECDC99 #F6EECD

Accessibility & contrast

On white

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

On black

12.87
#E2CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA66
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA66#FFFFFF#000000##000000
##E2CA661.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca66;
/* rgb */ color: rgb(226, 202, 102);
/* oklch */ color: oklch(83.9% 0.123 96.1);
Tailwind
colors: {
  custom: {
    50: '#eed994',
    500: '#e2ca66',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca66;
$custom-light: #eed994;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca66",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 48.387,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83919,
    "c": 0.12329,
    "h": 96.1
  },
  "luminance": 0.59369
}

Semantic roles & 50–950 ramp

primary
#E2CA66
secondary
#3E54AE
accent
#3AD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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