#E2CA7D#E2CA7D

#E2CA7D is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.100 H 92.7°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#E2CA7D
RGBrgb(226, 202, 125)
HSLhsl(46, 64%, 69%)
HSVhsv(46, 45%, 89%)
CMYKcmyk(0%, 10.6%, 44.7%, 11.4%)
CIE-LABlab(81.78, -1.83, 41.40)
CIE-LCHlch(81.78, 41.45, 92.53°)
OKLaboklab(84.24% -0.0047 0.1004)
OKLCHoklch(84.24% 0.1 92.7)
XYZxyz(56.1878, 59.8927, 27.9988)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA7D #7D95E2
analogous
#E2987D #E2CA7D #C8E27D
triadic
#E2CA7D #7DE2CA #CA7DE2
tetradic
#E2CA7D #7DE298 #7D95E2 #E27DC8
square
#E2CA7D #7DE298 #7D95E2 #E27DC8
split-complementary
#E2CA7D #7DC8E2 #987DE2
monochromatic
#BB982A #D7B64B #E2CA7D #EDDEAF #F8F3E1

Accessibility & contrast

On white

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

On black

12.98
#E2CA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA7D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA7D#FFFFFF#000000##000000
##E2CA7D1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca7d;
/* rgb */ color: rgb(226, 202, 125);
/* oklch */ color: oklch(84.2% 0.100 92.7);
Tailwind
colors: {
  custom: {
    50: '#eddaa4',
    500: '#e2ca7d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca7d;
$custom-light: #eddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca7d",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 45.743,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84236,
    "c": 0.10046,
    "h": 92.7
  },
  "luminance": 0.5989
}

Semantic roles & 50–950 ramp

primary
#E2CA7D
secondary
#4A64B9
accent
#44CB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #E2CA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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