#E7D86A#E7D86A

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

Color values

HEX#E7D86A
RGBrgb(231, 216, 106)
HSLhsl(53, 72%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.5%, 54.1%, 9.4%)
CIE-LABlab(85.58, -8.64, 55.29)
CIE-LCHlch(85.58, 55.96, 98.88°)
OKLaboklab(87.27% -0.0266 0.1294)
OKLCHoklch(87.27% 0.132 101.6)
XYZxyz(60.1143, 67.1434, 23.4263)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D86A #6A79E7
analogous
#E7996A #E7D86A #B7E76A
triadic
#E7D86A #6AE7D8 #D86AE7
tetradic
#E7D86A #6AE799 #6A79E7 #E76AB7
square
#E7D86A #6AE799 #6A79E7 #E76AB7
split-complementary
#E7D86A #6AB7E7 #996AE7
monochromatic
#B9A61E #DFCA35 #E7D86A #EFE69F #F8F4D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D86A#FFFFFF#000000##000000
##E7D86A1.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)
#E9D25F
Deuteranopia (green-blind)
#EED96F
Tritanopia (blue-blind)
#F6CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d86a;
/* rgb */ color: rgb(231, 216, 106);
/* oklch */ color: oklch(87.3% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#f1e398',
    500: '#e7d86a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d86a;
$custom-light: #f1e398;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d86a",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 106
  },
  "hsl": {
    "h": 52.8,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87269,
    "c": 0.13211,
    "h": 101.6
  },
  "luminance": 0.67141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D86A

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

Preview Lab → · Contrast checker → · Palette generator →

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