#E2CC72#E2CC72

#E2CC72 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.113 H 96.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E2CC72
RGBrgb(226, 204, 114)
HSLhsl(48, 66%, 67%)
HSVhsv(48, 50%, 89%)
CMYKcmyk(0%, 9.7%, 49.6%, 11.4%)
CIE-LABlab(82.15, -3.89, 47.31)
CIE-LCHlch(82.15, 47.47, 94.71°)
OKLaboklab(84.48% -0.0118 0.1128)
OKLCHoklch(84.48% 0.113 96)
XYZxyz(55.9960, 60.5716, 24.6582)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC72 #7288E2
analogous
#E29472 #E2CC72 #C0E272
triadic
#E2CC72 #72E2CC #CC72E2
tetradic
#E2CC72 #72E294 #7288E2 #E272C0
square
#E2CC72 #72E294 #7288E2 #E272C0
split-complementary
#E2CC72 #72C0E2 #9472E2
monochromatic
#B49825 #D8BA3F #E2CC72 #ECDEA5 #F7F1D8

Accessibility & contrast

On white

1.60
#E2CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#E2CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC72
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC72#FFFFFF#000000##000000
##E2CC721.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86A
Deuteranopia (green-blind)
#E2CF76
Tritanopia (blue-blind)
#F1C0B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc72;
/* rgb */ color: rgb(226, 204, 114);
/* oklch */ color: oklch(84.5% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#eddb9c',
    500: '#e2cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc72;
$custom-light: #eddb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc72",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 48.214,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8448,
    "c": 0.1134,
    "h": 96
  },
  "luminance": 0.60569
}

Semantic roles & 50–950 ramp

primary
#E2CC72
secondary
#4359B5
accent
#3CCE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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