#E2CA50#E2CA50

#E2CA50 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.142 H 98.1°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#E2CA50
RGBrgb(226, 202, 80)
HSLhsl(50, 72%, 60%)
HSVhsv(50, 65%, 89%)
CMYKcmyk(0%, 10.6%, 64.6%, 11.4%)
CIE-LABlab(81.29, -5.39, 61.90)
CIE-LCHlch(81.29, 62.14, 94.98°)
OKLaboklab(83.69% -0.0199 0.1404)
OKLCHoklch(83.69% 0.142 98.1)
XYZxyz(53.9349, 58.9915, 16.1334)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA50 #5068E2
analogous
#E28150 #E2CA50 #B1E250
triadic
#E2CA50 #50E2CA #CA50E2
tetradic
#E2CA50 #50E281 #5068E2 #E250B1
square
#E2CA50 #50E281 #5068E2 #E250B1
split-complementary
#E2CA50 #50B1E2 #8150E2
monochromatic
#9E881A #D2B523 #E2CA50 #EBDA84 #F3EAB9

Accessibility & contrast

On white

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

On black

12.80
#E2CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA50
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA50#FFFFFF#000000##000000
##E2CA501.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca50;
/* rgb */ color: rgb(226, 202, 80);
/* oklch */ color: oklch(83.7% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#eed987',
    500: '#e2ca50',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca50;
$custom-light: #eed987;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca50",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 50.137,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.83687,
    "c": 0.14177,
    "h": 98.1
  },
  "luminance": 0.58989
}

Semantic roles & 50–950 ramp

primary
#E2CA50
secondary
#3547A1
accent
#57EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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