#E4CC73#E4CC73

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

Color values

HEX#E4CC73
RGBrgb(228, 204, 115)
HSLhsl(47, 68%, 67%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 10.5%, 49.6%, 10.6%)
CIE-LABlab(82.34, -2.99, 47.09)
CIE-LCHlch(82.34, 47.19, 93.64°)
OKLaboklab(84.67% -0.0092 0.1124)
OKLCHoklch(84.67% 0.113 94.7)
XYZxyz(56.6841, 60.9199, 24.9892)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC73 #738BE4
analogous
#E49473 #E4CC73 #C3E473
triadic
#E4CC73 #73E4CC #CC73E4
tetradic
#E4CC73 #73E494 #738BE4 #E473C3
square
#E4CC73 #73E494 #738BE4 #E473C3
split-complementary
#E4CC73 #73C3E4 #9473E4
monochromatic
#B99924 #DAB940 #E4CC73 #EEDFA6 #F8F1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CC73#FFFFFF#000000##000000
##E4CC731.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)
#DCC86B
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#F3C0B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cc73;
/* rgb */ color: rgb(228, 204, 115);
/* oklch */ color: oklch(84.7% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#efdb9d',
    500: '#e4cc73',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc73;
$custom-light: #efdb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc73",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 47.257,
    "s": 67.665,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84674,
    "c": 0.11274,
    "h": 94.7
  },
  "luminance": 0.60918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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