#E7D96B#E7D96B

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

Color values

HEX#E7D96B
RGBrgb(231, 217, 107)
HSLhsl(53, 72%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.1%, 53.7%, 9.4%)
CIE-LABlab(85.85, -9.06, 55.14)
CIE-LCHlch(85.85, 55.88, 99.33°)
OKLaboklab(87.49% -0.0277 0.1292)
OKLCHoklch(87.49% 0.132 102.1)
XYZxyz(60.4236, 67.6783, 23.7874)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D96B #6B79E7
analogous
#E79B6B #E7D96B #B7E76B
triadic
#E7D96B #6BE7D9 #D96BE7
tetradic
#E7D96B #6BE79B #6B79E7 #E76BB7
square
#E7D96B #6BE79B #6B79E7 #E76BB7
split-complementary
#E7D96B #6BB7E7 #9B6BE7
monochromatic
#BAA81E #DECB36 #E7D96B #F0E7A0 #F8F4D4

Accessibility & contrast

On white

1.44
#E7D96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#E7D96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D96B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D96B#FFFFFF#000000##000000
##E7D96B1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d96b;
/* rgb */ color: rgb(231, 217, 107);
/* oklch */ color: oklch(87.5% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#f1e498',
    500: '#e7d96b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d96b;
$custom-light: #f1e498;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d96b",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 53.226,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87485,
    "c": 0.13212,
    "h": 102.1
  },
  "luminance": 0.67676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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