#E7C96A#E7C96A

#E7C96A is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.120 H 92.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#E7C96A
RGBrgb(231, 201, 106)
HSLhsl(46, 72%, 66%)
HSVhsv(46, 54%, 91%)
CMYKcmyk(0%, 13%, 54.1%, 9.4%)
CIE-LABlab(81.73, -0.99, 50.78)
CIE-LCHlch(81.73, 50.79, 91.11°)
OKLaboklab(84.23% -0.0045 0.1196)
OKLCHoklch(84.23% 0.12 92.2)
XYZxyz(56.4454, 59.8055, 22.2033)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C96A #6A88E7
analogous
#E78A6A #E7C96A #C6E76A
triadic
#E7C96A #6AE7C9 #C96AE7
tetradic
#E7C96A #6AE78A #6A88E7 #E76AC6
square
#E7C96A #6AE78A #6A88E7 #E76AC6
split-complementary
#E7C96A #6AC6E7 #8A6AE7
monochromatic
#B9941E #DFB635 #E7C96A #EFDC9F #F8EFD3

Accessibility & contrast

On white

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

On black

12.96
#E7C96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C96A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C96A#FFFFFF#000000##000000
##E7C96A1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC661
Deuteranopia (green-blind)
#E2CF6E
Tritanopia (blue-blind)
#F7BCB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7c96a;
/* rgb */ color: rgb(231, 201, 106);
/* oklch */ color: oklch(84.2% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#f1d997',
    500: '#e7c96a',
    950: '#000000',
  },
}
SCSS
$custom: #e7c96a;
$custom-light: #f1d997;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c96a",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 106
  },
  "hsl": {
    "h": 45.6,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84226,
    "c": 0.11971,
    "h": 92.2
  },
  "luminance": 0.59803
}

Semantic roles & 50–950 ramp

primary
#E7C96A
secondary
#3D5AB9
accent
#40D411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7C96A

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

Preview Lab → · Contrast checker → · Palette generator →

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