#E7D76C#E7D76C

#E7D76C is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.129 H 100.9°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#E7D76C
RGBrgb(231, 215, 108)
HSLhsl(52, 72%, 66%)
HSVhsv(52, 53%, 91%)
CMYKcmyk(0%, 6.9%, 53.2%, 9.4%)
CIE-LABlab(85.34, -7.98, 54.09)
CIE-LCHlch(85.34, 54.67, 98.39°)
OKLaboklab(87.09% -0.0245 0.127)
OKLCHoklch(87.09% 0.129 100.9)
XYZxyz(59.9642, 66.6747, 23.8953)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D76C #6C7CE7
analogous
#E79A6C #E7D76C #BAE76C
triadic
#E7D76C #6CE7D7 #D76CE7
tetradic
#E7D76C #6CE79A #6C7CE7 #E76CBA
square
#E7D76C #6CE79A #6C7CE7 #E76CBA
split-complementary
#E7D76C #6CBAE7 #9A6CE7
monochromatic
#BAA61E #DEC937 #E7D76C #F0E5A1 #F8F4D5

Accessibility & contrast

On white

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

On black

14.33
#E7D76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D76C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D76C#FFFFFF#000000##000000
##E7D76C1.001.4614.3314.33
#FFFFFF1.461.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D162
Deuteranopia (green-blind)
#EDD871
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d76c;
/* rgb */ color: rgb(231, 215, 108);
/* oklch */ color: oklch(87.1% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#f1e399',
    500: '#e7d76c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d76c;
$custom-light: #f1e399;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d76c",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 52.195,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87087,
    "c": 0.12934,
    "h": 100.9
  },
  "luminance": 0.66673
}

Semantic roles & 50–950 ramp

primary
#E7D76C
secondary
#3D4EBA
accent
#2BD412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D76C

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

Preview Lab → · Contrast checker → · Palette generator →

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