#E7C96F#E7C96F

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

Color values

HEX#E7C96F
RGBrgb(231, 201, 111)
HSLhsl(45, 71%, 67%)
HSVhsv(45, 52%, 91%)
CMYKcmyk(0%, 13%, 51.9%, 9.4%)
CIE-LABlab(81.79, -0.57, 48.44)
CIE-LCHlch(81.79, 48.45, 90.68°)
OKLaboklab(84.29% -0.0028 0.115)
OKLCHoklch(84.29% 0.115 91.4)
XYZxyz(56.7130, 59.9125, 23.6128)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C96F #6F8DE7
analogous
#E78D6F #E7C96F #C9E76F
triadic
#E7C96F #6FE7C9 #C96FE7
tetradic
#E7C96F #6FE78D #6F8DE7 #E76FC9
square
#E7C96F #6FE78D #6F8DE7 #E76FC9
split-complementary
#E7C96F #6FC9E7 #8D6FE7
monochromatic
#BC951F #DEB53B #E7C96F #F0DDA3 #F8F0D8

Accessibility & contrast

On white

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

On black

12.98
#E7C96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C96F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C96F#FFFFFF#000000##000000
##E7C96F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c96f;
/* rgb */ color: rgb(231, 201, 111);
/* oklch */ color: oklch(84.3% 0.115 91.4);
Tailwind
colors: {
  custom: {
    50: '#f1d99a',
    500: '#e7c96f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c96f;
$custom-light: #f1d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c96f",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 111
  },
  "hsl": {
    "h": 45,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84291,
    "c": 0.11499,
    "h": 91.4
  },
  "luminance": 0.5991
}

Semantic roles & 50–950 ramp

primary
#E7C96F
secondary
#3F5EBC
accent
#42D312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7C96F

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

Preview Lab → · Contrast checker → · Palette generator →

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