#E0CA50#E0CA50

#E0CA50 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.142 H 99.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#E0CA50
RGBrgb(224, 202, 80)
HSLhsl(51, 70%, 60%)
HSVhsv(51, 64%, 88%)
CMYKcmyk(0%, 9.8%, 64.3%, 12.2%)
CIE-LABlab(81.11, -6.23, 61.66)
CIE-LCHlch(81.11, 61.98, 95.77°)
OKLaboklab(83.5% -0.0222 0.1399)
OKLCHoklch(83.5% 0.142 99)
XYZxyz(53.3113, 58.6700, 16.1042)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA50 #5066E0
analogous
#E08250 #E0CA50 #AEE050
triadic
#E0CA50 #50E0CA #CA50E0
tetradic
#E0CA50 #50E082 #5066E0 #E050AE
square
#E0CA50 #50E082 #5066E0 #E050AE
split-complementary
#E0CA50 #50AEE0 #8250E0
monochromatic
#9A871B #CEB425 #E0CA50 #E9DA84 #F2E9B8

Accessibility & contrast

On white

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

On black

12.73
#E0CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA50
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA50#FFFFFF#000000##000000
##E0CA501.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#F1BCB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e0ca50;
/* rgb */ color: rgb(224, 202, 80);
/* oklch */ color: oklch(83.5% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#edd986',
    500: '#e0ca50',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca50;
$custom-light: #edd986;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca50",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 50.833,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83504,
    "c": 0.14166,
    "h": 99
  },
  "luminance": 0.58668
}

Semantic roles & 50–950 ramp

primary
#E0CA50
secondary
#36469E
accent
#56ED3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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