#E2CA7A#E2CA7A

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

Color values

HEX#E2CA7A
RGBrgb(226, 202, 122)
HSLhsl(46, 64%, 68%)
HSVhsv(46, 46%, 89%)
CMYKcmyk(0%, 10.6%, 46%, 11.4%)
CIE-LABlab(81.74, -2.12, 42.86)
CIE-LCHlch(81.74, 42.91, 92.84°)
OKLaboklab(84.19% -0.0058 0.1034)
OKLCHoklch(84.19% 0.104 93.2)
XYZxyz(55.9991, 59.8172, 27.0047)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA7A #7A92E2
analogous
#E2967A #E2CA7A #C6E27A
triadic
#E2CA7A #7AE2CA #CA7AE2
tetradic
#E2CA7A #7AE296 #7A92E2 #E27AC6
square
#E2CA7A #7AE296 #7A92E2 #E27AC6
split-complementary
#E2CA7A #7AC6E2 #967AE2
monochromatic
#B99828 #D7B648 #E2CA7A #EDDEAC #F8F2DE

Accessibility & contrast

On white

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

On black

12.96
#E2CA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA7A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA7A#FFFFFF#000000##000000
##E2CA7A1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC774
Deuteranopia (green-blind)
#E0CE7D
Tritanopia (blue-blind)
#F0BFB7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca7a;
/* rgb */ color: rgb(226, 202, 122);
/* oklch */ color: oklch(84.2% 0.104 93.2);
Tailwind
colors: {
  custom: {
    50: '#edd9a2',
    500: '#e2ca7a',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca7a;
$custom-light: #edd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca7a",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 46.154,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8419,
    "c": 0.10361,
    "h": 93.2
  },
  "luminance": 0.59815
}

Semantic roles & 50–950 ramp

primary
#E2CA7A
secondary
#4761B9
accent
#43CC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E2CA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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