#E7D96A#E7D96A

#E7D96A is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.133 H 102.2°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#E7D96A
RGBrgb(231, 217, 106)
HSLhsl(53, 72%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.1%, 54.1%, 9.4%)
CIE-LABlab(85.83, -9.14, 55.59)
CIE-LCHlch(85.83, 56.34, 99.34°)
OKLaboklab(87.47% -0.0281 0.1301)
OKLCHoklch(87.47% 0.133 102.2)
XYZxyz(60.3713, 67.6574, 23.5120)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D96A #6A78E7
analogous
#E79A6A #E7D96A #B6E76A
triadic
#E7D96A #6AE7D9 #D96AE7
tetradic
#E7D96A #6AE79A #6A78E7 #E76AB6
square
#E7D96A #6AE79A #6A78E7 #E76AB6
split-complementary
#E7D96A #6AB6E7 #9A6AE7
monochromatic
#B9A71E #DFCC35 #E7D96A #EFE69F #F8F4D3

Accessibility & contrast

On white

1.45
#E7D96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#E7D96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D96A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D96A#FFFFFF#000000##000000
##E7D96A1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35F
Deuteranopia (green-blind)
#EED96F
Tritanopia (blue-blind)
#F6CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7d96a;
/* rgb */ color: rgb(231, 217, 106);
/* oklch */ color: oklch(87.5% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#f1e498',
    500: '#e7d96a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d96a;
$custom-light: #f1e498;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d96a",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 53.28,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87474,
    "c": 0.13304,
    "h": 102.2
  },
  "luminance": 0.67655
}

Semantic roles & 50–950 ramp

primary
#E7D96A
secondary
#3D4AB9
accent
#27D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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