#E7CC70#E7CC70

#E7CC70 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.116 H 93.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E7CC70
RGBrgb(231, 204, 112)
HSLhsl(46, 71%, 67%)
HSVhsv(46, 52%, 91%)
CMYKcmyk(0%, 11.7%, 51.5%, 9.4%)
CIE-LABlab(82.56, -2.04, 48.89)
CIE-LCHlch(82.56, 48.93, 92.38°)
OKLaboklab(84.91% -0.0069 0.116)
OKLCHoklch(84.91% 0.116 93.4)
XYZxyz(57.4745, 61.3470, 24.1398)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC70 #708BE7
analogous
#E79170 #E7CC70 #C6E770
triadic
#E7CC70 #70E7CC #CC70E7
tetradic
#E7CC70 #70E791 #708BE7 #E770C6
square
#E7CC70 #70E791 #708BE7 #E770C6
split-complementary
#E7CC70 #70C6E7 #9170E7
monochromatic
#BD9920 #DEB93C #E7CC70 #F0DFA4 #F9F1D9

Accessibility & contrast

On white

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

On black

13.27
#E7CC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC70
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC70#FFFFFF#000000##000000
##E7CC701.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC968
Deuteranopia (green-blind)
#E4D174
Tritanopia (blue-blind)
#F7BFB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc70;
/* rgb */ color: rgb(231, 204, 112);
/* oklch */ color: oklch(84.9% 0.116 93.4);
Tailwind
colors: {
  custom: {
    50: '#f1db9b',
    500: '#e7cc70',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc70;
$custom-light: #f1db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc70",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 46.387,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84906,
    "c": 0.11624,
    "h": 93.4
  },
  "luminance": 0.61345
}

Semantic roles & 50–950 ramp

primary
#E7CC70
secondary
#3F5BBC
accent
#3ED312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CC70

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

Preview Lab → · Contrast checker → · Palette generator →

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