#E5CC72#E5CC72

#E5CC72 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.114 H 94.2°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E5CC72
RGBrgb(229, 204, 114)
HSLhsl(47, 69%, 67%)
HSVhsv(47, 50%, 90%)
CMYKcmyk(0%, 10.9%, 50.2%, 10.2%)
CIE-LABlab(82.41, -2.68, 47.69)
CIE-LCHlch(82.41, 47.77, 93.21°)
OKLaboklab(84.75% -0.0084 0.1136)
OKLCHoklch(84.75% 0.114 94.2)
XYZxyz(56.9452, 61.0611, 24.7027)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC72 #728BE5
analogous
#E59372 #E5CC72 #C4E572
triadic
#E5CC72 #72E5CC #CC72E5
tetradic
#E5CC72 #72E593 #728BE5 #E572C4
square
#E5CC72 #72E593 #728BE5 #E572C4
split-complementary
#E5CC72 #72C4E5 #9372E5
monochromatic
#BA9922 #DBB93E #E5CC72 #EFDFA6 #F8F1D9

Accessibility & contrast

On white

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

On black

13.21
#E5CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC72
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC72#FFFFFF#000000##000000
##E5CC721.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc72;
/* rgb */ color: rgb(229, 204, 114);
/* oklch */ color: oklch(84.8% 0.114 94.2);
Tailwind
colors: {
  custom: {
    50: '#efdb9c',
    500: '#e5cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc72;
$custom-light: #efdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc72",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 46.957,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84751,
    "c": 0.1139,
    "h": 94.2
  },
  "luminance": 0.61059
}

Semantic roles & 50–950 ramp

primary
#E5CC72
secondary
#415BBA
accent
#3ED115
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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