#E7C96D#E7C96D

#E7C96D is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.117 H 91.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#E7C96D
RGBrgb(231, 201, 109)
HSLhsl(45, 72%, 67%)
HSVhsv(45, 53%, 91%)
CMYKcmyk(0%, 13%, 52.8%, 9.4%)
CIE-LABlab(81.77, -0.74, 49.38)
CIE-LCHlch(81.77, 49.39, 90.86°)
OKLaboklab(84.26% -0.0035 0.1169)
OKLCHoklch(84.26% 0.117 91.7)
XYZxyz(56.6041, 59.8690, 23.0394)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C96D #6D8BE7
analogous
#E78C6D #E7C96D #C8E76D
triadic
#E7C96D #6DE7C9 #C96DE7
tetradic
#E7C96D #6DE78C #6D8BE7 #E76DC8
square
#E7C96D #6DE78C #6D8BE7 #E76DC8
split-complementary
#E7C96D #6DC8E7 #8C6DE7
monochromatic
#BB941F #DEB638 #E7C96D #F0DCA2 #F8F0D6

Accessibility & contrast

On white

1.62
#E7C96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#E7C96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C96D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C96D#FFFFFF#000000##000000
##E7C96D1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC665
Deuteranopia (green-blind)
#E2CF71
Tritanopia (blue-blind)
#F7BCB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7c96d;
/* rgb */ color: rgb(231, 201, 109);
/* oklch */ color: oklch(84.3% 0.117 91.7);
Tailwind
colors: {
  custom: {
    50: '#f1d999',
    500: '#e7c96d',
    950: '#000000',
  },
}
SCSS
$custom: #e7c96d;
$custom-light: #f1d999;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c96d",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 45.246,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84264,
    "c": 0.1169,
    "h": 91.7
  },
  "luminance": 0.59866
}

Semantic roles & 50–950 ramp

primary
#E7C96D
secondary
#3E5CBA
accent
#41D412
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7C96D

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

Preview Lab → · Contrast checker → · Palette generator →

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