#E2CA49#E2CA49

#E2CA49 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.147 H 98.6°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#E2CA49
RGBrgb(226, 202, 73)
HSLhsl(51, 73%, 59%)
HSVhsv(51, 68%, 89%)
CMYKcmyk(0%, 10.6%, 67.7%, 11.4%)
CIE-LABlab(81.23, -5.79, 64.71)
CIE-LCHlch(81.23, 64.97, 95.11°)
OKLaboklab(83.63% -0.0219 0.1452)
OKLCHoklch(83.63% 0.147 98.6)
XYZxyz(53.6896, 58.8934, 14.8416)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA49 #4961E2
analogous
#E27D49 #E2CA49 #ADE249
triadic
#E2CA49 #49E2CA #CA49E2
tetradic
#E2CA49 #49E27D #4961E2 #E249AD
square
#E2CA49 #49E27D #4961E2 #E249AD
split-complementary
#E2CA49 #49ADE2 #7D49E2
monochromatic
#988418 #CDB221 #E2CA49 #EAD97E #F3E9B3

Accessibility & contrast

On white

1.64
#E2CA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#E2CA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA49
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA49#FFFFFF#000000##000000
##E2CA491.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#E4CD50
Tritanopia (blue-blind)
#F3BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca49;
/* rgb */ color: rgb(226, 202, 73);
/* oklch */ color: oklch(83.6% 0.147 98.6);
Tailwind
colors: {
  custom: {
    50: '#efd982',
    500: '#e2ca49',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca49;
$custom-light: #efd982;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca49",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 50.588,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.14684,
    "h": 98.6
  },
  "luminance": 0.58891
}

Semantic roles & 50–950 ramp

primary
#E2CA49
secondary
#33449C
accent
#55EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA49

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

Preview Lab → · Contrast checker → · Palette generator →

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