#E2CA46#E2CA46

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

Color values

HEX#E2CA46
RGBrgb(226, 202, 70)
HSLhsl(51, 73%, 58%)
HSVhsv(51, 69%, 89%)
CMYKcmyk(0%, 10.6%, 69%, 11.4%)
CIE-LABlab(81.21, -5.94, 65.87)
CIE-LCHlch(81.21, 66.14, 95.16°)
OKLaboklab(83.6% -0.0226 0.1471)
OKLCHoklch(83.6% 0.149 98.7)
XYZxyz(53.5925, 58.8546, 14.3303)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA46 #465EE2
analogous
#E27C46 #E2CA46 #ACE246
triadic
#E2CA46 #46E2CA #CA46E2
tetradic
#E2CA46 #46E27C #465EE2 #E246AC
square
#E2CA46 #46E27C #465EE2 #E246AC
split-complementary
#E2CA46 #46ACE2 #7C46E2
monochromatic
#968318 #CBB120 #E2CA46 #EAD97B #F3E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA46#FFFFFF#000000##000000
##E2CA461.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)
#DDC533
Deuteranopia (green-blind)
#E4CD4E
Tritanopia (blue-blind)
#F3BBAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca46;
/* rgb */ color: rgb(226, 202, 70);
/* oklch */ color: oklch(83.6% 0.149 98.7);
Tailwind
colors: {
  custom: {
    50: '#efd981',
    500: '#e2ca46',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca46;
$custom-light: #efd981;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca46",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 50.769,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83603,
    "c": 0.14887,
    "h": 98.7
  },
  "luminance": 0.58852
}

Semantic roles & 50–950 ramp

primary
#E2CA46
secondary
#32429A
accent
#54F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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