#E7CC72#E7CC72

#E7CC72 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.114 H 93.1°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E7CC72
RGBrgb(231, 204, 114)
HSLhsl(46, 71%, 68%)
HSVhsv(46, 51%, 91%)
CMYKcmyk(0%, 11.7%, 50.6%, 9.4%)
CIE-LABlab(82.59, -1.86, 47.95)
CIE-LCHlch(82.59, 47.99, 92.23°)
OKLaboklab(84.93% -0.0062 0.1141)
OKLCHoklch(84.93% 0.114 93.1)
XYZxyz(57.5871, 61.3921, 24.7328)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC72 #728DE7
analogous
#E79272 #E7CC72 #C7E772
triadic
#E7CC72 #72E7CC #CC72E7
tetradic
#E7CC72 #72E792 #728DE7 #E772C7
square
#E7CC72 #72E792 #728DE7 #E772C7
split-complementary
#E7CC72 #72C7E7 #9272E7
monochromatic
#BE9A20 #DEB93E #E7CC72 #F0DFA6 #F9F2DB

Accessibility & contrast

On white

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

On black

13.28
#E7CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC72
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC72#FFFFFF#000000##000000
##E7CC721.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc72;
/* rgb */ color: rgb(231, 204, 114);
/* oklch */ color: oklch(84.9% 0.114 93.1);
Tailwind
colors: {
  custom: {
    50: '#f1db9c',
    500: '#e7cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc72;
$custom-light: #f1db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc72",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 46.154,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84933,
    "c": 0.11429,
    "h": 93.1
  },
  "luminance": 0.6139
}

Semantic roles & 50–950 ramp

primary
#E7CC72
secondary
#405DBD
accent
#3FD313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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