#E2CA63#E2CA63

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

Color values

HEX#E2CA63
RGBrgb(226, 202, 99)
HSLhsl(49, 69%, 64%)
HSVhsv(49, 56%, 89%)
CMYKcmyk(0%, 10.6%, 56.2%, 11.4%)
CIE-LABlab(81.46, -4.11, 53.66)
CIE-LCHlch(81.46, 53.82, 94.37°)
OKLaboklab(83.88% -0.0141 0.1252)
OKLCHoklch(83.88% 0.126 96.4)
XYZxyz(54.7388, 59.3131, 20.3672)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA63 #637BE2
analogous
#E28A63 #E2CA63 #BBE263
triadic
#E2CA63 #63E2CA #CA63E2
tetradic
#E2CA63 #63E28A #637BE2 #E263BB
square
#E2CA63 #63E28A #637BE2 #E263BB
split-complementary
#E2CA63 #63BBE2 #8A63E2
monochromatic
#AB9120 #D8B82F #E2CA63 #ECDC97 #F5EDCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA63#FFFFFF#000000##000000
##E2CA631.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)
#DBC659
Deuteranopia (green-blind)
#E2CE68
Tritanopia (blue-blind)
#F2BDB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca63;
/* rgb */ color: rgb(226, 202, 99);
/* oklch */ color: oklch(83.9% 0.126 96.4);
Tailwind
colors: {
  custom: {
    50: '#eed992',
    500: '#e2ca63',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca63;
$custom-light: #eed992;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca63",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 99
  },
  "hsl": {
    "h": 48.661,
    "s": 68.649,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83883,
    "c": 0.12603,
    "h": 96.4
  },
  "luminance": 0.59311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2CA63

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

Preview Lab → · Contrast checker → · Palette generator →

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