#E0CA78#E0CA78

#E0CA78 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 84.0% C 0.105 H 94.8°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#E0CA78
RGBrgb(224, 202, 120)
HSLhsl(47, 63%, 67%)
HSVhsv(47, 46%, 88%)
CMYKcmyk(0%, 9.8%, 46.4%, 12.2%)
CIE-LABlab(81.54, -3.12, 43.56)
CIE-LCHlch(81.54, 43.68, 94.10°)
OKLaboklab(83.98% -0.0088 0.1049)
OKLCHoklch(83.98% 0.105 94.8)
XYZxyz(55.2528, 59.4466, 26.3295)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA78 #788EE0
analogous
#E09678 #E0CA78 #C2E078
triadic
#E0CA78 #78E0CA #CA78E0
tetradic
#E0CA78 #78E096 #788EE0 #E078C2
square
#E0CA78 #78E096 #788EE0 #E078C2
split-complementary
#E0CA78 #78C2E0 #9678E0
monochromatic
#B49729 #D5B646 #E0CA78 #EBDEAA #F7F1DC

Accessibility & contrast

On white

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

On black

12.89
#E0CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA78
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA78#FFFFFF#000000##000000
##E0CA781.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C771
Deuteranopia (green-blind)
#DFCE7B
Tritanopia (blue-blind)
#EEBFB6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0ca78;
/* rgb */ color: rgb(224, 202, 120);
/* oklch */ color: oklch(84.0% 0.105 94.8);
Tailwind
colors: {
  custom: {
    50: '#ebd9a0',
    500: '#e0ca78',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca78;
$custom-light: #ebd9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca78",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 47.308,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8398,
    "c": 0.10529,
    "h": 94.8
  },
  "luminance": 0.59444
}

Semantic roles & 50–950 ramp

primary
#E0CA78
secondary
#475EB5
accent
#40CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #E0CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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