#E5CC71#E5CC71

#E5CC71 is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.115 H 94.4°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E5CC71
RGBrgb(229, 204, 113)
HSLhsl(47, 69%, 67%)
HSVhsv(47, 51%, 90%)
CMYKcmyk(0%, 10.9%, 50.7%, 10.2%)
CIE-LABlab(82.40, -2.76, 48.17)
CIE-LCHlch(82.40, 48.25, 93.28°)
OKLaboklab(84.74% -0.0088 0.1146)
OKLCHoklch(84.74% 0.115 94.4)
XYZxyz(56.8885, 61.0384, 24.4046)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC71 #718AE5
analogous
#E59271 #E5CC71 #C4E571
triadic
#E5CC71 #71E5CC #CC71E5
tetradic
#E5CC71 #71E592 #718AE5 #E571C4
square
#E5CC71 #71E592 #718AE5 #E571C4
split-complementary
#E5CC71 #71C4E5 #9271E5
monochromatic
#BA9922 #DCB93D #E5CC71 #EEDFA5 #F8F1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CC71#FFFFFF#000000##000000
##E5CC711.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)
#DDC969
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#F4C0B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc71;
/* rgb */ color: rgb(229, 204, 113);
/* oklch */ color: oklch(84.7% 0.115 94.4);
Tailwind
colors: {
  custom: {
    50: '#efdb9c',
    500: '#e5cc71',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc71;
$custom-light: #efdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc71",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 47.069,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84737,
    "c": 0.11489,
    "h": 94.4
  },
  "luminance": 0.61036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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