#E2CA72#E2CA72

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

Color values

HEX#E2CA72
RGBrgb(226, 202, 114)
HSLhsl(47, 66%, 67%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 10.6%, 49.6%, 11.4%)
CIE-LABlab(81.64, -2.87, 46.69)
CIE-LCHlch(81.64, 46.78, 93.51°)
OKLaboklab(84.07% -0.0088 0.1114)
OKLCHoklch(84.07% 0.112 94.5)
XYZxyz(55.5236, 59.6270, 24.5008)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA72 #728AE2
analogous
#E29272 #E2CA72 #C2E272
triadic
#E2CA72 #72E2CA #CA72E2
tetradic
#E2CA72 #72E292 #728AE2 #E272C2
square
#E2CA72 #72E292 #728AE2 #E272C2
split-complementary
#E2CA72 #72C2E2 #9272E2
monochromatic
#B49625 #D8B73F #E2CA72 #ECDDA5 #F7F0D8

Accessibility & contrast

On white

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

On black

12.93
#E2CA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA72
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA72#FFFFFF#000000##000000
##E2CA721.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca72;
/* rgb */ color: rgb(226, 202, 114);
/* oklch */ color: oklch(84.1% 0.112 94.5);
Tailwind
colors: {
  custom: {
    50: '#edd99c',
    500: '#e2ca72',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca72;
$custom-light: #edd99c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca72",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 47.143,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84074,
    "c": 0.11176,
    "h": 94.5
  },
  "luminance": 0.59625
}

Semantic roles & 50–950 ramp

primary
#E2CA72
secondary
#435BB5
accent
#3FCE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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