#E7CC71#E7CC71

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

Color values

HEX#E7CC71
RGBrgb(231, 204, 113)
HSLhsl(46, 71%, 67%)
HSVhsv(46, 51%, 91%)
CMYKcmyk(0%, 11.7%, 51.1%, 9.4%)
CIE-LABlab(82.58, -1.95, 48.42)
CIE-LCHlch(82.58, 48.46, 92.31°)
OKLaboklab(84.92% -0.0066 0.1151)
OKLCHoklch(84.92% 0.115 93.3)
XYZxyz(57.5305, 61.3694, 24.4347)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC71 #718CE7
analogous
#E79171 #E7CC71 #C7E771
triadic
#E7CC71 #71E7CC #CC71E7
tetradic
#E7CC71 #71E791 #718CE7 #E771C7
square
#E7CC71 #71E791 #718CE7 #E771C7
split-complementary
#E7CC71 #71C7E7 #9171E7
monochromatic
#BE9A20 #DEB93D #E7CC71 #F0DFA5 #F9F2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CC71#FFFFFF#000000##000000
##E7CC711.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)
#DDC969
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#F7BFB7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc71;
/* rgb */ color: rgb(231, 204, 113);
/* oklch */ color: oklch(84.9% 0.115 93.3);
Tailwind
colors: {
  custom: {
    50: '#f1db9c',
    500: '#e7cc71',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc71;
$custom-light: #f1db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc71",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 46.271,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84919,
    "c": 0.11527,
    "h": 93.3
  },
  "luminance": 0.61367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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