#E7D76B#E7D76B

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

Color values

HEX#E7D76B
RGBrgb(231, 215, 107)
HSLhsl(52, 72%, 66%)
HSVhsv(52, 54%, 91%)
CMYKcmyk(0%, 6.9%, 53.7%, 9.4%)
CIE-LABlab(85.33, -8.06, 54.54)
CIE-LCHlch(85.33, 55.13, 98.40°)
OKLaboklab(87.08% -0.0248 0.1279)
OKLCHoklch(87.08% 0.13 101)
XYZxyz(59.9112, 66.6535, 23.6166)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D76B #6B7BE7
analogous
#E7996B #E7D76B #B9E76B
triadic
#E7D76B #6BE7D7 #D76BE7
tetradic
#E7D76B #6BE799 #6B7BE7 #E76BB9
square
#E7D76B #6BE799 #6B7BE7 #E76BB9
split-complementary
#E7D76B #6BB9E7 #996BE7
monochromatic
#BAA51E #DEC936 #E7D76B #F0E5A0 #F8F3D4

Accessibility & contrast

On white

1.47
#E7D76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D76B#FFFFFF#000000##000000
##E7D76B1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d76b;
/* rgb */ color: rgb(231, 215, 107);
/* oklch */ color: oklch(87.1% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#f1e398',
    500: '#e7d76b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d76b;
$custom-light: #f1e398;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d76b",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 52.258,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87075,
    "c": 0.13027,
    "h": 101
  },
  "luminance": 0.66651
}

Semantic roles & 50–950 ramp

primary
#E7D76B
secondary
#3D4DB9
accent
#2AD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D76B

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

Preview Lab → · Contrast checker → · Palette generator →

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