#7E996B#7E996B

#7E996B is a light, moderate yellow-green. Relative luminance 0.283; OKLCH L 65.0% C 0.073 H 132.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7E996B
RGBrgb(126, 153, 107)
HSLhsl(95, 18%, 51%)
HSVhsv(95, 30%, 60%)
CMYKcmyk(17.6%, 0%, 30.1%, 40%)
CIE-LABlab(60.14, -18.21, 21.16)
CIE-LCHlch(60.14, 27.92, 130.71°)
OKLaboklab(64.99% -0.0494 0.0533)
OKLCHoklch(64.99% 0.073 132.8)
XYZxyz(22.6488, 28.2793, 18.1723)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E996B #866B99
analogous
#95996B #7E996B #6B996F
triadic
#7E996B #6B7E99 #996B7E
tetradic
#7E996B #6B9599 #866B99 #996F6B
square
#7E996B #6B9599 #866B99 #996F6B
split-complementary
#7E996B #6F6B99 #996B95
monochromatic
#435138 #607651 #7E996B #9EB28F #BDCBB3

Accessibility & contrast

On white

3.16
#7E996B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7E996B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E996B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E996B#FFFFFF#000000##000000
##7E996B1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9268
Deuteranopia (green-blind)
#99906D
Tritanopia (blue-blind)
#7F958D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e996b;
/* rgb */ color: rgb(126, 153, 107);
/* oklch */ color: oklch(65.0% 0.073 132.8);
Tailwind
colors: {
  custom: {
    50: '#a4b795',
    500: '#7e996b',
    950: '#000000',
  },
}
SCSS
$custom: #7e996b;
$custom-light: #a4b795;
$custom-dark: #000000;
JSON
{
  "hex": "#7e996b",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 95.217,
    "s": 18.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.64993,
    "c": 0.07263,
    "h": 132.8
  },
  "luminance": 0.2828
}

Semantic roles & 50–950 ramp

primary
#7E996B
secondary
#B2A6BA
accent
#6DBB9B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7E996B

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

Preview Lab → · Contrast checker → · Palette generator →

#7E996B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva