#E7D86B#E7D86B

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

Color values

HEX#E7D86B
RGBrgb(231, 216, 107)
HSLhsl(53, 72%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.5%, 53.7%, 9.4%)
CIE-LABlab(85.59, -8.56, 54.84)
CIE-LCHlch(85.59, 55.50, 98.87°)
OKLaboklab(87.28% -0.0263 0.1285)
OKLCHoklch(87.28% 0.131 101.6)
XYZxyz(60.1667, 67.1644, 23.7018)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D86B #6B7AE7
analogous
#E79A6B #E7D86B #B8E76B
triadic
#E7D86B #6BE7D8 #D86BE7
tetradic
#E7D86B #6BE79A #6B7AE7 #E76BB8
square
#E7D86B #6BE79A #6B7AE7 #E76BB8
split-complementary
#E7D86B #6BB8E7 #9A6BE7
monochromatic
#BAA71E #DECA36 #E7D86B #F0E6A0 #F8F4D4

Accessibility & contrast

On white

1.46
#E7D86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E7D86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D86B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D86B#FFFFFF#000000##000000
##E7D86B1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D261
Deuteranopia (green-blind)
#EED970
Tritanopia (blue-blind)
#F6CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d86b;
/* rgb */ color: rgb(231, 216, 107);
/* oklch */ color: oklch(87.3% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#f1e398',
    500: '#e7d86b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d86b;
$custom-light: #f1e398;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d86b",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 52.742,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8728,
    "c": 0.13119,
    "h": 101.6
  },
  "luminance": 0.67162
}

Semantic roles & 50–950 ramp

primary
#E7D86B
secondary
#3D4CB9
accent
#29D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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