#7B976A#7B976A

#7B976A is a light, moderate yellow-green. Relative luminance 0.274; OKLCH L 64.3% C 0.072 H 134.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B976A
RGBrgb(123, 151, 106)
HSLhsl(97, 18%, 50%)
HSVhsv(97, 30%, 59%)
CMYKcmyk(18.5%, 0%, 29.8%, 40.8%)
CIE-LABlab(59.33, -18.46, 20.58)
CIE-LCHlch(59.33, 27.65, 131.89°)
OKLaboklab(64.28% -0.0501 0.0519)
OKLCHoklch(64.28% 0.072 134)
XYZxyz(21.8360, 27.3844, 17.7682)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B976A #866A97
analogous
#92976A #7B976A #6A976F
triadic
#7B976A #6A7B97 #976A7B
tetradic
#7B976A #6A9297 #866A97 #976F6A
square
#7B976A #6A9297 #866A97 #976F6A
split-complementary
#7B976A #6F6A97 #976A92
monochromatic
#404F37 #5E7350 #7B976A #9BB08E #BBC9B2

Accessibility & contrast

On white

3.24
#7B976A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7B976A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B976A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B976A#FFFFFF#000000##000000
##7B976A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9067
Deuteranopia (green-blind)
#968E6C
Tritanopia (blue-blind)
#7B938B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b976a;
/* rgb */ color: rgb(123, 151, 106);
/* oklch */ color: oklch(64.3% 0.072 134.0);
Tailwind
colors: {
  custom: {
    50: '#a2b595',
    500: '#7b976a',
    950: '#000000',
  },
}
SCSS
$custom: #7b976a;
$custom-light: #a2b595;
$custom-dark: #000000;
JSON
{
  "hex": "#7b976a",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 106
  },
  "hsl": {
    "h": 97.333,
    "s": 17.787,
    "l": 50.392
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.07211,
    "h": 134
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#7B976A
secondary
#B1A4B8
accent
#6DBA9D
background
#FAFBF9
surface
#F3F6F1
border
#CDD0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7B976A

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

Preview Lab → · Contrast checker → · Palette generator →

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