#E7D96F#E7D96F

#E7D96F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.5% C 0.128 H 101.9°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E7D96F
RGBrgb(231, 217, 111)
HSLhsl(53, 71%, 67%)
HSVhsv(53, 52%, 91%)
CMYKcmyk(0%, 6.1%, 51.9%, 9.4%)
CIE-LABlab(85.89, -8.74, 53.33)
CIE-LCHlch(85.89, 54.04, 99.31°)
OKLaboklab(87.53% -0.0264 0.1256)
OKLCHoklch(87.53% 0.128 101.9)
XYZxyz(60.6389, 67.7644, 24.9215)
Luminance0.6776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D96F #6F7DE7
analogous
#E79D6F #E7D96F #B9E76F
triadic
#E7D96F #6FE7D9 #D96FE7
tetradic
#E7D96F #6FE79D #6F7DE7 #E76FB9
square
#E7D96F #6FE79D #6F7DE7 #E76FB9
split-complementary
#E7D96F #6FB9E7 #9D6FE7
monochromatic
#BCAA1F #DECB3B #E7D96F #F0E7A3 #F8F5D8

Accessibility & contrast

On white

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

On black

14.55
#E7D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D96F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D96F#FFFFFF#000000##000000
##E7D96F1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD365
Deuteranopia (green-blind)
#EEDA74
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7d96f;
/* rgb */ color: rgb(231, 217, 111);
/* oklch */ color: oklch(87.5% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#f1e49b',
    500: '#e7d96f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d96f;
$custom-light: #f1e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d96f",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 53,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87534,
    "c": 0.12838,
    "h": 101.9
  },
  "luminance": 0.67762
}

Semantic roles & 50–950 ramp

primary
#E7D96F
secondary
#3F4DBC
accent
#29D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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