#E8CC72#E8CC72

#E8CC72 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.115 H 92.5°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E8CC72
RGBrgb(232, 204, 114)
HSLhsl(46, 72%, 68%)
HSVhsv(46, 51%, 91%)
CMYKcmyk(0%, 12.1%, 50.9%, 9%)
CIE-LABlab(82.68, -1.46, 48.08)
CIE-LCHlch(82.68, 48.10, 91.74°)
OKLaboklab(85.02% -0.0051 0.1144)
OKLCHoklch(85.02% 0.115 92.5)
XYZxyz(57.9109, 61.5590, 24.7480)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC72 #728EE8
analogous
#E89172 #E8CC72 #C9E872
triadic
#E8CC72 #72E8CC #CC72E8
tetradic
#E8CC72 #72E891 #728EE8 #E872C9
square
#E8CC72 #72E891 #728EE8 #E872C9
split-complementary
#E8CC72 #72C9E8 #9172E8
monochromatic
#C09A1F #DFB93D #E8CC72 #F1DFA7 #F9F2DB

Accessibility & contrast

On white

1.58
#E8CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E8CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC72
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC72#FFFFFF#000000##000000
##E8CC721.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#F8BFB7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cc72;
/* rgb */ color: rgb(232, 204, 114);
/* oklch */ color: oklch(85.0% 0.115 92.5);
Tailwind
colors: {
  custom: {
    50: '#f2db9c',
    500: '#e8cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc72;
$custom-light: #f2db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc72",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 45.763,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85024,
    "c": 0.1145,
    "h": 92.5
  },
  "luminance": 0.61556
}

Semantic roles & 50–950 ramp

primary
#E8CC72
secondary
#3F5DBF
accent
#40D411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E8CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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