#E9CC72#E9CC72

#E9CC72 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.115 H 92.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#E9CC72
RGBrgb(233, 204, 114)
HSLhsl(45, 73%, 68%)
HSVhsv(45, 51%, 91%)
CMYKcmyk(0%, 12.4%, 51.1%, 8.6%)
CIE-LABlab(82.77, -1.05, 48.21)
CIE-LCHlch(82.77, 48.22, 91.25°)
OKLaboklab(85.12% -0.004 0.1147)
OKLCHoklch(85.12% 0.115 92)
XYZxyz(58.2365, 61.7269, 24.7633)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC72 #728FE9
analogous
#E99072 #E9CC72 #CAE972
triadic
#E9CC72 #72E9CC #CC72E9
tetradic
#E9CC72 #72E990 #728FE9 #E972CA
square
#E9CC72 #72E990 #728FE9 #E972CA
split-complementary
#E9CC72 #72CAE9 #9072E9
monochromatic
#C29A1E #E1B93D #E9CC72 #F1DFA7 #FAF2DC

Accessibility & contrast

On white

1.57
#E9CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#E9CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC72
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC72#FFFFFF#000000##000000
##E9CC721.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9cc72;
/* rgb */ color: rgb(233, 204, 114);
/* oklch */ color: oklch(85.1% 0.115 92.0);
Tailwind
colors: {
  custom: {
    50: '#f2db9c',
    500: '#e9cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc72;
$custom-light: #f2db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc72",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 45.378,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85116,
    "c": 0.11473,
    "h": 92
  },
  "luminance": 0.61724
}

Semantic roles & 50–950 ramp

primary
#E9CC72
secondary
#3E5EC1
accent
#40D510
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E9CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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