#E8CC71#E8CC71

#E8CC71 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 85.0% C 0.115 H 92.7°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E8CC71
RGBrgb(232, 204, 113)
HSLhsl(46, 72%, 68%)
HSVhsv(46, 51%, 91%)
CMYKcmyk(0%, 12.1%, 51.3%, 9%)
CIE-LABlab(82.67, -1.54, 48.55)
CIE-LCHlch(82.67, 48.58, 91.82°)
OKLaboklab(85.01% -0.0054 0.1154)
OKLCHoklch(85.01% 0.115 92.7)
XYZxyz(57.8543, 61.5364, 24.4499)
Luminance0.6153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC71 #718DE8
analogous
#E89071 #E8CC71 #C9E871
triadic
#E8CC71 #71E8CC #CC71E8
tetradic
#E8CC71 #71E890 #718DE8 #E871C9
square
#E8CC71 #71E890 #718DE8 #E871C9
split-complementary
#E8CC71 #71C9E8 #9071E8
monochromatic
#C09A1F #DFB93C #E8CC71 #F1DFA6 #F9F2DA

Accessibility & contrast

On white

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

On black

13.31
#E8CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC71
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC71#FFFFFF#000000##000000
##E8CC711.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cc71;
/* rgb */ color: rgb(232, 204, 113);
/* oklch */ color: oklch(85.0% 0.115 92.7);
Tailwind
colors: {
  custom: {
    50: '#f2db9c',
    500: '#e8cc71',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc71;
$custom-light: #f2db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc71",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 45.882,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85011,
    "c": 0.11548,
    "h": 92.7
  },
  "luminance": 0.61534
}

Semantic roles & 50–950 ramp

primary
#E8CC71
secondary
#3F5DBF
accent
#3FD411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E8CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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