#E2CA47#E2CA47

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

Color values

HEX#E2CA47
RGBrgb(226, 202, 71)
HSLhsl(51, 73%, 58%)
HSVhsv(51, 69%, 89%)
CMYKcmyk(0%, 10.6%, 68.6%, 11.4%)
CIE-LABlab(81.22, -5.89, 65.49)
CIE-LCHlch(81.22, 65.75, 95.14°)
OKLaboklab(83.61% -0.0224 0.1465)
OKLCHoklch(83.61% 0.148 98.7)
XYZxyz(53.6244, 58.8673, 14.4980)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA47 #475FE2
analogous
#E27C47 #E2CA47 #ACE247
triadic
#E2CA47 #47E2CA #CA47E2
tetradic
#E2CA47 #47E27C #475FE2 #E247AC
square
#E2CA47 #47E27C #475FE2 #E247AC
split-complementary
#E2CA47 #47ACE2 #7C47E2
monochromatic
#978318 #CCB120 #E2CA47 #EAD97C #F3E8B1

Accessibility & contrast

On white

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

On black

12.77
#E2CA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA47
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA47#FFFFFF#000000##000000
##E2CA471.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#E4CD4F
Tritanopia (blue-blind)
#F3BBAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca47;
/* rgb */ color: rgb(226, 202, 71);
/* oklch */ color: oklch(83.6% 0.148 98.7);
Tailwind
colors: {
  custom: {
    50: '#efd981',
    500: '#e2ca47',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca47;
$custom-light: #efd981;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca47",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 50.71,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83611,
    "c": 0.1482,
    "h": 98.7
  },
  "luminance": 0.58865
}

Semantic roles & 50–950 ramp

primary
#E2CA47
secondary
#32439B
accent
#55EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA47

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

Preview Lab → · Contrast checker → · Palette generator →

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