#7A866C#7A866C

#7A866C is a mid, muted yellow-green. Relative luminance 0.223; OKLCH L 60.3% C 0.041 H 127.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7A866C
RGBrgb(122, 134, 108)
HSLhsl(88, 11%, 47%)
HSVhsv(88, 19%, 53%)
CMYKcmyk(9%, 0%, 19.4%, 47.5%)
CIE-LABlab(54.31, -9.40, 12.55)
CIE-LCHlch(54.31, 15.69, 126.84°)
OKLaboklab(60.28% -0.025 0.0322)
OKLCHoklch(60.28% 0.041 127.8)
XYZxyz(19.2575, 22.2704, 17.4685)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A866C #786C86
analogous
#86856C #7A866C #6D866C
triadic
#7A866C #6C7A86 #866C7A
tetradic
#7A866C #6C8685 #786C86 #866C6D
square
#7A866C #6C8685 #786C86 #866C6D
split-complementary
#7A866C #6C6D86 #856C86
monochromatic
#3C4235 #5B6451 #7A866C #98A38C #B7BEAE

Accessibility & contrast

On white

3.85
#7A866C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7A866C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A866C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A866C#FFFFFF#000000##000000
##7A866C1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89826A
Deuteranopia (green-blind)
#87826D
Tritanopia (blue-blind)
#7B837F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a866c;
/* rgb */ color: rgb(122, 134, 108);
/* oklch */ color: oklch(60.3% 0.041 127.8);
Tailwind
colors: {
  custom: {
    50: '#a0a996',
    500: '#7a866c',
    950: '#000000',
  },
}
SCSS
$custom: #7a866c;
$custom-light: #a0a996;
$custom-dark: #000000;
JSON
{
  "hex": "#7a866c",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 108
  },
  "hsl": {
    "h": 87.692,
    "s": 10.744,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.04076,
    "h": 127.8
  },
  "luminance": 0.2227
}

Semantic roles & 50–950 ramp

primary
#7A866C
secondary
#A6A0AE
accent
#74B491
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #7A866C

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

Preview Lab → · Contrast checker → · Palette generator →

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