#E0CA59#E0CA59

#E0CA59 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.6% C 0.135 H 98.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#E0CA59
RGBrgb(224, 202, 89)
HSLhsl(50, 69%, 61%)
HSVhsv(50, 60%, 88%)
CMYKcmyk(0%, 9.8%, 60.3%, 12.2%)
CIE-LABlab(81.19, -5.65, 57.85)
CIE-LCHlch(81.19, 58.13, 95.58°)
OKLaboklab(83.59% -0.0195 0.1331)
OKLCHoklch(83.59% 0.135 98.4)
XYZxyz(53.6663, 58.8120, 17.9743)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA59 #596FE0
analogous
#E08759 #E0CA59 #B3E059
triadic
#E0CA59 #59E0CA #CA59E0
tetradic
#E0CA59 #59E087 #596FE0 #E059B3
square
#E0CA59 #59E087 #596FE0 #E059B3
split-complementary
#E0CA59 #59B3E0 #8759E0
monochromatic
#A18B1E #D4B828 #E0CA59 #EADA8D #F3EBC0

Accessibility & contrast

On white

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

On black

12.76
#E0CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA59
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA59#FFFFFF#000000##000000
##E0CA591.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#E2CD5F
Tritanopia (blue-blind)
#F0BDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e0ca59;
/* rgb */ color: rgb(224, 202, 89);
/* oklch */ color: oklch(83.6% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#edd98c',
    500: '#e0ca59',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca59;
$custom-light: #edd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca59",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 50.222,
    "s": 68.528,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83592,
    "c": 0.1345,
    "h": 98.4
  },
  "luminance": 0.5881
}

Semantic roles & 50–950 ramp

primary
#E0CA59
secondary
#3A4BA4
accent
#34D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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