#E7D860#E7D860

#E7D860 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.141 H 102.2°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E7D860
RGBrgb(231, 216, 96)
HSLhsl(53, 74%, 64%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 6.5%, 58.4%, 9.4%)
CIE-LABlab(85.48, -9.38, 59.69)
CIE-LCHlch(85.48, 60.42, 98.93°)
OKLaboklab(87.16% -0.0298 0.1377)
OKLCHoklch(87.16% 0.141 102.2)
XYZxyz(59.6243, 66.9474, 20.8455)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D860 #606FE7
analogous
#E79560 #E7D860 #B3E760
triadic
#E7D860 #60E7D8 #D860E7
tetradic
#E7D860 #60E795 #606FE7 #E760B3
square
#E7D860 #60E795 #606FE7 #E760B3
split-complementary
#E7D860 #60B3E7 #9560E7
monochromatic
#B2A11B #DFCB2B #E7D860 #EFE595 #F7F2CA

Accessibility & contrast

On white

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

On black

14.39
#E7D860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D860
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D860#FFFFFF#000000##000000
##E7D8601.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#EED966
Tritanopia (blue-blind)
#F7CABE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d860;
/* rgb */ color: rgb(231, 216, 96);
/* oklch */ color: oklch(87.2% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#f1e391',
    500: '#e7d860',
    950: '#000000',
  },
}
SCSS
$custom: #e7d860;
$custom-light: #f1e391;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d860",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 96
  },
  "hsl": {
    "h": 53.333,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87158,
    "c": 0.14093,
    "h": 102.2
  },
  "luminance": 0.66945
}

Semantic roles & 50–950 ramp

primary
#E7D860
secondary
#3946B2
accent
#26D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D860

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

Preview Lab → · Contrast checker → · Palette generator →

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