#E7C96C#E7C96C

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

Color values

HEX#E7C96C
RGBrgb(231, 201, 108)
HSLhsl(45, 72%, 66%)
HSVhsv(45, 53%, 91%)
CMYKcmyk(0%, 13%, 53.2%, 9.4%)
CIE-LABlab(81.76, -0.82, 49.85)
CIE-LCHlch(81.76, 49.86, 90.95°)
OKLaboklab(84.25% -0.0038 0.1178)
OKLCHoklch(84.25% 0.118 91.9)
XYZxyz(56.5506, 59.8476, 22.7575)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C96C #6C8AE7
analogous
#E78C6C #E7C96C #C8E76C
triadic
#E7C96C #6CE7C9 #C96CE7
tetradic
#E7C96C #6CE78C #6C8AE7 #E76CC8
square
#E7C96C #6CE78C #6C8AE7 #E76CC8
split-complementary
#E7C96C #6CC8E7 #8C6CE7
monochromatic
#BA941E #DEB637 #E7C96C #F0DCA1 #F8F0D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7C96C#FFFFFF#000000##000000
##E7C96C1.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)
#DBC664
Deuteranopia (green-blind)
#E2CF70
Tritanopia (blue-blind)
#F7BCB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7c96c;
/* rgb */ color: rgb(231, 201, 108);
/* oklch */ color: oklch(84.3% 0.118 91.9);
Tailwind
colors: {
  custom: {
    50: '#f1d998',
    500: '#e7c96c',
    950: '#000000',
  },
}
SCSS
$custom: #e7c96c;
$custom-light: #f1d998;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c96c",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 108
  },
  "hsl": {
    "h": 45.366,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84251,
    "c": 0.11784,
    "h": 91.9
  },
  "luminance": 0.59845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C96C

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

Preview Lab → · Contrast checker → · Palette generator →

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