#E5CC70#E5CC70

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

Color values

HEX#E5CC70
RGBrgb(229, 204, 112)
HSLhsl(47, 69%, 67%)
HSVhsv(47, 51%, 90%)
CMYKcmyk(0%, 10.9%, 51.1%, 10.2%)
CIE-LABlab(82.39, -2.85, 48.64)
CIE-LCHlch(82.39, 48.72, 93.35°)
OKLaboklab(84.72% -0.0092 0.1155)
OKLCHoklch(84.72% 0.116 94.5)
XYZxyz(56.8326, 61.0160, 24.1097)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC70 #7089E5
analogous
#E59170 #E5CC70 #C4E570
triadic
#E5CC70 #70E5CC #CC70E5
tetradic
#E5CC70 #70E591 #7089E5 #E570C4
square
#E5CC70 #70E591 #7089E5 #E570C4
split-complementary
#E5CC70 #70C4E5 #9170E5
monochromatic
#B99922 #DCBA3C #E5CC70 #EEDEA4 #F8F1D8

Accessibility & contrast

On white

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

On black

13.20
#E5CC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC70
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC70#FFFFFF#000000##000000
##E5CC701.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC868
Deuteranopia (green-blind)
#E3D074
Tritanopia (blue-blind)
#F4C0B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc70;
/* rgb */ color: rgb(229, 204, 112);
/* oklch */ color: oklch(84.7% 0.116 94.5);
Tailwind
colors: {
  custom: {
    50: '#efdb9b',
    500: '#e5cc70',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc70;
$custom-light: #efdb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc70",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 47.179,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84724,
    "c": 0.11586,
    "h": 94.5
  },
  "luminance": 0.61014
}

Semantic roles & 50–950 ramp

primary
#E5CC70
secondary
#405AB9
accent
#3DD114
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC70

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

Preview Lab → · Contrast checker → · Palette generator →

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