#E2CA78#E2CA78

#E2CA78 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.106 H 93.6°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#E2CA78
RGBrgb(226, 202, 120)
HSLhsl(46, 65%, 68%)
HSVhsv(46, 47%, 89%)
CMYKcmyk(0%, 10.6%, 46.9%, 11.4%)
CIE-LABlab(81.71, -2.31, 43.82)
CIE-LCHlch(81.71, 43.88, 93.02°)
OKLaboklab(84.16% -0.0066 0.1055)
OKLCHoklch(84.16% 0.106 93.6)
XYZxyz(55.8764, 59.7681, 26.3588)
Luminance0.5977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA78 #7890E2
analogous
#E29578 #E2CA78 #C5E278
triadic
#E2CA78 #78E2CA #CA78E2
tetradic
#E2CA78 #78E295 #7890E2 #E278C5
square
#E2CA78 #78E295 #7890E2 #E278C5
split-complementary
#E2CA78 #78C5E2 #9578E2
monochromatic
#B89728 #D7B646 #E2CA78 #EDDEAA #F8F2DD

Accessibility & contrast

On white

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

On black

12.95
#E2CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA78
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA78#FFFFFF#000000##000000
##E2CA781.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#E0CE7B
Tritanopia (blue-blind)
#F1BEB6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca78;
/* rgb */ color: rgb(226, 202, 120);
/* oklch */ color: oklch(84.2% 0.106 93.6);
Tailwind
colors: {
  custom: {
    50: '#edd9a0',
    500: '#e2ca78',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca78;
$custom-light: #edd9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca78",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 46.415,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8416,
    "c": 0.10568,
    "h": 93.6
  },
  "luminance": 0.59766
}

Semantic roles & 50–950 ramp

primary
#E2CA78
secondary
#4660B9
accent
#42CC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E2CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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