#E2CA7B#E2CA7B

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

Color values

HEX#E2CA7B
RGBrgb(226, 202, 123)
HSLhsl(46, 64%, 68%)
HSVhsv(46, 46%, 89%)
CMYKcmyk(0%, 10.6%, 45.6%, 11.4%)
CIE-LABlab(81.75, -2.03, 42.37)
CIE-LCHlch(81.75, 42.42, 92.74°)
OKLaboklab(84.21% -0.0055 0.1024)
OKLCHoklch(84.21% 0.103 93.1)
XYZxyz(56.0614, 59.8421, 27.3327)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA7B #7B93E2
analogous
#E2967B #E2CA7B #C6E27B
triadic
#E2CA7B #7BE2CA #CA7BE2
tetradic
#E2CA7B #7BE296 #7B93E2 #E27BC6
square
#E2CA7B #7BE296 #7B93E2 #E27BC6
split-complementary
#E2CA7B #7BC6E2 #967BE2
monochromatic
#BA9829 #D7B649 #E2CA7B #EDDEAD #F8F2DF

Accessibility & contrast

On white

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

On black

12.97
#E2CA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA7B
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA7B#FFFFFF#000000##000000
##E2CA7B1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca7b;
/* rgb */ color: rgb(226, 202, 123);
/* oklch */ color: oklch(84.2% 0.103 93.1);
Tailwind
colors: {
  custom: {
    50: '#edd9a2',
    500: '#e2ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca7b;
$custom-light: #edd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca7b",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 46.019,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84205,
    "c": 0.10257,
    "h": 93.1
  },
  "luminance": 0.5984
}

Semantic roles & 50–950 ramp

primary
#E2CA7B
secondary
#4862B9
accent
#43CC1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E2CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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