#E2CA71#E2CA71

#E2CA71 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 84.1% C 0.113 H 94.7°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E2CA71
RGBrgb(226, 202, 113)
HSLhsl(47, 66%, 66%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 10.6%, 50%, 11.4%)
CIE-LABlab(81.62, -2.96, 47.16)
CIE-LCHlch(81.62, 47.26, 93.59°)
OKLaboklab(84.06% -0.0092 0.1124)
OKLCHoklch(84.06% 0.113 94.7)
XYZxyz(55.4670, 59.6044, 24.2027)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA71 #7189E2
analogous
#E29271 #E2CA71 #C2E271
triadic
#E2CA71 #71E2CA #CA71E2
tetradic
#E2CA71 #71E292 #7189E2 #E271C2
square
#E2CA71 #71E292 #7189E2 #E271C2
split-complementary
#E2CA71 #71C2E2 #9271E2
monochromatic
#B49525 #D8B73E #E2CA71 #ECDDA4 #F7F0D7

Accessibility & contrast

On white

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

On black

12.92
#E2CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA71
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA71#FFFFFF#000000##000000
##E2CA711.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#E1CE75
Tritanopia (blue-blind)
#F1BEB5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca71;
/* rgb */ color: rgb(226, 202, 113);
/* oklch */ color: oklch(84.1% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#edd99c',
    500: '#e2ca71',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca71;
$custom-light: #edd99c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca71",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 47.257,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84061,
    "c": 0.11275,
    "h": 94.7
  },
  "luminance": 0.59602
}

Semantic roles & 50–950 ramp

primary
#E2CA71
secondary
#425BB5
accent
#3ECE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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