#E7D86D#E7D86D

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

Color values

HEX#E7D86D
RGBrgb(231, 216, 109)
HSLhsl(53, 72%, 67%)
HSVhsv(53, 53%, 91%)
CMYKcmyk(0%, 6.5%, 52.8%, 9.4%)
CIE-LABlab(85.61, -8.40, 53.94)
CIE-LCHlch(85.61, 54.59, 98.85°)
OKLaboklab(87.3% -0.0256 0.1268)
OKLCHoklch(87.3% 0.129 101.4)
XYZxyz(60.2731, 67.2069, 24.2624)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D86D #6D7CE7
analogous
#E79B6D #E7D86D #B9E76D
triadic
#E7D86D #6DE7D8 #D86DE7
tetradic
#E7D86D #6DE79B #6D7CE7 #E76DB9
square
#E7D86D #6DE79B #6D7CE7 #E76DB9
split-complementary
#E7D86D #6DB9E7 #9B6DE7
monochromatic
#BBA81F #DECA38 #E7D86D #F0E6A2 #F8F4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D86D#FFFFFF#000000##000000
##E7D86D1.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)
#E9D263
Deuteranopia (green-blind)
#EDD972
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d86d;
/* rgb */ color: rgb(231, 216, 109);
/* oklch */ color: oklch(87.3% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#f1e39a',
    500: '#e7d86d',
    950: '#000000',
  },
}
SCSS
$custom: #e7d86d;
$custom-light: #f1e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d86d",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 52.623,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87304,
    "c": 0.12933,
    "h": 101.4
  },
  "luminance": 0.67205
}

Semantic roles & 50–950 ramp

primary
#E7D86D
secondary
#3E4DBA
accent
#2AD412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D86D

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

Preview Lab → · Contrast checker → · Palette generator →

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