#7E976A#7E976A

#7E976A is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.5% C 0.070 H 131.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E976A
RGBrgb(126, 151, 106)
HSLhsl(93, 18%, 50%)
HSVhsv(93, 30%, 59%)
CMYKcmyk(16.6%, 0%, 29.8%, 40.8%)
CIE-LABlab(59.53, -17.32, 20.90)
CIE-LCHlch(59.53, 27.14, 129.66°)
OKLaboklab(64.5% -0.0469 0.0526)
OKLCHoklch(64.5% 0.071 131.7)
XYZxyz(22.2718, 27.6091, 17.7886)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E976A #836A97
analogous
#95976A #7E976A #6A976C
triadic
#7E976A #6A7E97 #976A7E
tetradic
#7E976A #6A9597 #836A97 #976C6A
square
#7E976A #6A9597 #836A97 #976C6A
split-complementary
#7E976A #6C6A97 #976A95
monochromatic
#424F37 #607350 #7E976A #9DB08E #BCC9B2

Accessibility & contrast

On white

3.22
#7E976A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7E976A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E976A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E976A#FFFFFF#000000##000000
##7E976A1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9167
Deuteranopia (green-blind)
#978F6C
Tritanopia (blue-blind)
#7F938B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e976a;
/* rgb */ color: rgb(126, 151, 106);
/* oklch */ color: oklch(64.5% 0.070 131.7);
Tailwind
colors: {
  custom: {
    50: '#a4b595',
    500: '#7e976a',
    950: '#000000',
  },
}
SCSS
$custom: #7e976a;
$custom-light: #a4b595;
$custom-dark: #000000;
JSON
{
  "hex": "#7e976a",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 106
  },
  "hsl": {
    "h": 93.333,
    "s": 17.787,
    "l": 50.392
  },
  "oklch": {
    "l": 0.64501,
    "c": 0.0705,
    "h": 131.7
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#7E976A
secondary
#B0A4B8
accent
#6DBA98
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7E976A

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

Preview Lab → · Contrast checker → · Palette generator →

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