#E2CA64#E2CA64

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

Color values

HEX#E2CA64
RGBrgb(226, 202, 100)
HSLhsl(49, 68%, 64%)
HSVhsv(49, 56%, 89%)
CMYKcmyk(0%, 10.6%, 55.8%, 11.4%)
CIE-LABlab(81.47, -4.03, 53.21)
CIE-LCHlch(81.47, 53.36, 94.33°)
OKLaboklab(83.9% -0.0137 0.1244)
OKLCHoklch(83.9% 0.125 96.3)
XYZxyz(54.7869, 59.3323, 20.6205)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA64 #647CE2
analogous
#E28B64 #E2CA64 #BBE264
triadic
#E2CA64 #64E2CA #CA64E2
tetradic
#E2CA64 #64E28B #647CE2 #E264BB
square
#E2CA64 #64E28B #647CE2 #E264BB
split-complementary
#E2CA64 #64BBE2 #8B64E2
monochromatic
#AC9120 #D8B830 #E2CA64 #ECDC98 #F5EDCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA64#FFFFFF#000000##000000
##E2CA641.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)
#DBC65A
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#F2BDB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca64;
/* rgb */ color: rgb(226, 202, 100);
/* oklch */ color: oklch(83.9% 0.125 96.3);
Tailwind
colors: {
  custom: {
    50: '#eed993',
    500: '#e2ca64',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca64;
$custom-light: #eed993;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca64",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 100
  },
  "hsl": {
    "h": 48.571,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83895,
    "c": 0.12511,
    "h": 96.3
  },
  "luminance": 0.5933
}

Semantic roles & 50–950 ramp

primary
#E2CA64
secondary
#3D52AD
accent
#39D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA64

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

Preview Lab → · Contrast checker → · Palette generator →

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