#E4CC72#E4CC72

#E4CC72 is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.114 H 94.8°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E4CC72
RGBrgb(228, 204, 114)
HSLhsl(47, 68%, 67%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 10.5%, 50%, 10.6%)
CIE-LABlab(82.32, -3.08, 47.57)
CIE-LCHlch(82.32, 47.67, 93.71°)
OKLaboklab(84.66% -0.0096 0.1133)
OKLCHoklch(84.66% 0.114 94.8)
XYZxyz(56.6269, 60.8970, 24.6878)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC72 #728AE4
analogous
#E49372 #E4CC72 #C3E472
triadic
#E4CC72 #72E4CC #CC72E4
tetradic
#E4CC72 #72E493 #728AE4 #E472C3
square
#E4CC72 #72E493 #728AE4 #E472C3
split-complementary
#E4CC72 #72C3E4 #9372E4
monochromatic
#B89923 #DAB93F #E4CC72 #EEDFA5 #F8F1D9

Accessibility & contrast

On white

1.59
#E4CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#E4CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC72
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC72#FFFFFF#000000##000000
##E4CC721.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86A
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#F3C0B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cc72;
/* rgb */ color: rgb(228, 204, 114);
/* oklch */ color: oklch(84.7% 0.114 94.8);
Tailwind
colors: {
  custom: {
    50: '#efdb9c',
    500: '#e4cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc72;
$custom-light: #efdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc72",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 47.368,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8466,
    "c": 0.11372,
    "h": 94.8
  },
  "luminance": 0.60895
}

Semantic roles & 50–950 ramp

primary
#E4CC72
secondary
#425BB9
accent
#3DD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E4CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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