#E7D86C#E7D86C

#E7D86C is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.130 H 101.5°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#E7D86C
RGBrgb(231, 216, 108)
HSLhsl(53, 72%, 66%)
HSVhsv(53, 53%, 91%)
CMYKcmyk(0%, 6.5%, 53.2%, 9.4%)
CIE-LABlab(85.60, -8.48, 54.39)
CIE-LCHlch(85.60, 55.05, 98.86°)
OKLaboklab(87.29% -0.0259 0.1277)
OKLCHoklch(87.29% 0.13 101.5)
XYZxyz(60.2196, 67.1855, 23.9805)
Luminance0.6718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D86C #6C7BE7
analogous
#E79B6C #E7D86C #B9E76C
triadic
#E7D86C #6CE7D8 #D86CE7
tetradic
#E7D86C #6CE79B #6C7BE7 #E76CB9
square
#E7D86C #6CE79B #6C7BE7 #E76CB9
split-complementary
#E7D86C #6CB9E7 #9B6CE7
monochromatic
#BAA71E #DECA37 #E7D86C #F0E6A1 #F8F4D5

Accessibility & contrast

On white

1.45
#E7D86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#E7D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D86C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D86C#FFFFFF#000000##000000
##E7D86C1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#EDD971
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d86c;
/* rgb */ color: rgb(231, 216, 108);
/* oklch */ color: oklch(87.3% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#f1e399',
    500: '#e7d86c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d86c;
$custom-light: #f1e399;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d86c",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 52.683,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87292,
    "c": 0.13026,
    "h": 101.5
  },
  "luminance": 0.67183
}

Semantic roles & 50–950 ramp

primary
#E7D86C
secondary
#3D4DBA
accent
#29D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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