#E0CA81#E0CA81

#E0CA81 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.096 H 93.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#E0CA81
RGBrgb(224, 202, 129)
HSLhsl(46, 61%, 69%)
HSVhsv(46, 42%, 88%)
CMYKcmyk(0%, 9.8%, 42.4%, 12.2%)
CIE-LABlab(81.66, -2.23, 39.20)
CIE-LCHlch(81.66, 39.26, 93.25°)
OKLaboklab(84.12% -0.0054 0.0956)
OKLCHoklch(84.12% 0.096 93.2)
XYZxyz(55.8249, 59.6754, 29.3425)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA81 #8197E0
analogous
#E09B81 #E0CA81 #C7E081
triadic
#E0CA81 #81E0CA #CA81E0
tetradic
#E0CA81 #81E09B #8197E0 #E081C7
square
#E0CA81 #81E09B #8197E0 #E081C7
split-complementary
#E0CA81 #81C7E0 #9B81E0
monochromatic
#B9992E #D4B550 #E0CA81 #ECDFB2 #F8F3E3

Accessibility & contrast

On white

1.62
#E0CA81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#E0CA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA81
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA81#FFFFFF#000000##000000
##E0CA811.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C77B
Deuteranopia (green-blind)
#DECE84
Tritanopia (blue-blind)
#EEBFB8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0ca81;
/* rgb */ color: rgb(224, 202, 129);
/* oklch */ color: oklch(84.1% 0.096 93.2);
Tailwind
colors: {
  custom: {
    50: '#ebdaa6',
    500: '#e0ca81',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca81;
$custom-light: #ebdaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca81",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 129
  },
  "hsl": {
    "h": 46.105,
    "s": 60.51,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84119,
    "c": 0.09573,
    "h": 93.2
  },
  "luminance": 0.59673
}

Semantic roles & 50–950 ramp

primary
#E0CA81
secondary
#4E66B7
accent
#45C81D
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #E0CA81

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

Preview Lab → · Contrast checker → · Palette generator →

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