#E0CA46#E0CA46

#E0CA46 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.149 H 99.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#E0CA46
RGBrgb(224, 202, 70)
HSLhsl(51, 71%, 58%)
HSVhsv(51, 69%, 88%)
CMYKcmyk(0%, 9.8%, 68.8%, 12.2%)
CIE-LABlab(81.03, -6.79, 65.64)
CIE-LCHlch(81.03, 65.99, 95.90°)
OKLaboklab(83.42% -0.0249 0.1467)
OKLCHoklch(83.42% 0.149 99.6)
XYZxyz(52.9689, 58.5330, 14.3011)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA46 #465CE0
analogous
#E07D46 #E0CA46 #A9E046
triadic
#E0CA46 #46E0CA #CA46E0
tetradic
#E0CA46 #46E07D #465CE0 #E046A9
square
#E0CA46 #46E07D #465CE0 #E046A9
split-complementary
#E0CA46 #46A9E0 #7D46E0
monochromatic
#938119 #C7B021 #E0CA46 #E9D97A #F2E8AF

Accessibility & contrast

On white

1.65
#E0CA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#E0CA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA46
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA46#FFFFFF#000000##000000
##E0CA461.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC533
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#F1BCAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e0ca46;
/* rgb */ color: rgb(224, 202, 70);
/* oklch */ color: oklch(83.4% 0.149 99.6);
Tailwind
colors: {
  custom: {
    50: '#edd981',
    500: '#e0ca46',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca46;
$custom-light: #edd981;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca46",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 51.429,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8342,
    "c": 0.14881,
    "h": 99.6
  },
  "luminance": 0.58531
}

Semantic roles & 50–950 ramp

primary
#E0CA46
secondary
#334198
accent
#54EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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