#E4CA50#E4CA50

#E4CA50 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.142 H 97.1°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#E4CA50
RGBrgb(228, 202, 80)
HSLhsl(49, 73%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 11.4%, 64.9%, 10.6%)
CIE-LABlab(81.47, -4.55, 62.15)
CIE-LCHlch(81.47, 62.31, 94.19°)
OKLaboklab(83.87% -0.0177 0.1408)
OKLCHoklch(83.87% 0.142 97.1)
XYZxyz(54.5659, 59.3169, 16.1630)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA50 #506AE4
analogous
#E48050 #E4CA50 #B4E450
triadic
#E4CA50 #50E4CA #CA50E4
tetradic
#E4CA50 #50E480 #506AE4 #E450B4
square
#E4CA50 #50E480 #506AE4 #E450B4
split-complementary
#E4CA50 #50B4E4 #8050E4
monochromatic
#A18919 #D6B621 #E4CA50 #ECDA85 #F4EABA

Accessibility & contrast

On white

1.63
#E4CA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#E4CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA50
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA50#FFFFFF#000000##000000
##E4CA501.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#F5BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4ca50;
/* rgb */ color: rgb(228, 202, 80);
/* oklch */ color: oklch(83.9% 0.142 97.1);
Tailwind
colors: {
  custom: {
    50: '#f0d987',
    500: '#e4ca50',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca50;
$custom-light: #f0d987;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca50",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 49.459,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8387,
    "c": 0.14192,
    "h": 97.1
  },
  "luminance": 0.59314
}

Semantic roles & 50–950 ramp

primary
#E4CA50
secondary
#3548A4
accent
#33D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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