#E2CA5A#E2CA5A

#E2CA5A is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.134 H 97.3°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#E2CA5A
RGBrgb(226, 202, 90)
HSLhsl(49, 70%, 62%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 10.6%, 60.2%, 11.4%)
CIE-LABlab(81.37, -4.75, 57.66)
CIE-LCHlch(81.37, 57.86, 94.71°)
OKLaboklab(83.78% -0.017 0.1328)
OKLCHoklch(83.78% 0.134 97.3)
XYZxyz(54.3323, 59.1505, 18.2262)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA5A #5A72E2
analogous
#E2865A #E2CA5A #B6E25A
triadic
#E2CA5A #5AE2CA #CA5AE2
tetradic
#E2CA5A #5AE286 #5A72E2 #E25AB6
square
#E2CA5A #5AE286 #5A72E2 #E25AB6
split-complementary
#E2CA5A #5AB6E2 #865AE2
monochromatic
#A58D1D #D9B926 #E2CA5A #EBDB8E #F4EBC2

Accessibility & contrast

On white

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

On black

12.83
#E2CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA5A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA5A#FFFFFF#000000##000000
##E2CA5A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64E
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#F2BCB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca5a;
/* rgb */ color: rgb(226, 202, 90);
/* oklch */ color: oklch(83.8% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#eed98d',
    500: '#e2ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca5a;
$custom-light: #eed98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca5a",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 49.412,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83784,
    "c": 0.13383,
    "h": 97.3
  },
  "luminance": 0.59148
}

Semantic roles & 50–950 ramp

primary
#E2CA5A
secondary
#394DA7
accent
#35D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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