#E4CC71#E4CC71

#E4CC71 is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.115 H 95.0°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E4CC71
RGBrgb(228, 204, 113)
HSLhsl(47, 68%, 67%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 10.5%, 50.4%, 10.6%)
CIE-LABlab(82.31, -3.17, 48.04)
CIE-LCHlch(82.31, 48.14, 93.78°)
OKLaboklab(84.65% -0.0099 0.1143)
OKLCHoklch(84.65% 0.115 95)
XYZxyz(56.5703, 60.8743, 24.3897)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC71 #7189E4
analogous
#E49371 #E4CC71 #C3E471
triadic
#E4CC71 #71E4CC #CC71E4
tetradic
#E4CC71 #71E493 #7189E4 #E471C3
square
#E4CC71 #71E493 #7189E4 #E471C3
split-complementary
#E4CC71 #71C3E4 #9371E4
monochromatic
#B89923 #DABA3E #E4CC71 #EEDEA4 #F8F1D8

Accessibility & contrast

On white

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

On black

13.17
#E4CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC71
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC71#FFFFFF#000000##000000
##E4CC711.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc71;
/* rgb */ color: rgb(228, 204, 113);
/* oklch */ color: oklch(84.6% 0.115 95.0);
Tailwind
colors: {
  custom: {
    50: '#efdb9c',
    500: '#e4cc71',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc71;
$custom-light: #efdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc71",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 47.478,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84647,
    "c": 0.11471,
    "h": 95
  },
  "luminance": 0.60872
}

Semantic roles & 50–950 ramp

primary
#E4CC71
secondary
#415AB8
accent
#3CD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E4CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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