#7C8166#7C8166

#7C8166 is a mid, muted yellow-green. Relative luminance 0.209; OKLCH L 59.1% C 0.040 H 116.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7C8166
RGBrgb(124, 129, 102)
HSLhsl(71, 12%, 45%)
HSVhsv(71, 21%, 51%)
CMYKcmyk(3.9%, 0%, 20.9%, 49.4%)
CIE-LABlab(52.89, -6.85, 14.05)
CIE-LCHlch(52.89, 15.63, 116.01°)
OKLaboklab(59.14% -0.0176 0.0359)
OKLCHoklch(59.14% 0.04 116.2)
XYZxyz(18.5605, 20.9450, 15.6328)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8166 #6B6681
analogous
#817866 #7C8166 #6E8166
triadic
#7C8166 #667C81 #81667C
tetradic
#7C8166 #668178 #6B6681 #81666E
square
#7C8166 #668178 #6B6681 #81666E
split-complementary
#7C8166 #666E81 #786681
monochromatic
#3A3D30 #5B5F4B #7C8166 #9A9F85 #B6BAA8

Accessibility & contrast

On white

4.05
#7C8166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7C8166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8166
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8166#FFFFFF#000000##000000
##7C81661.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857E64
Deuteranopia (green-blind)
#857E67
Tritanopia (blue-blind)
#7F7E7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8166;
/* rgb */ color: rgb(124, 129, 102);
/* oklch */ color: oklch(59.1% 0.040 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a591',
    500: '#7c8166',
    950: '#000000',
  },
}
SCSS
$custom: #7c8166;
$custom-light: #a2a591;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8166",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 71.111,
    "s": 11.688,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.03999,
    "h": 116.2
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#7C8166
secondary
#9D9AA9
accent
#73B57F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7C8166

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

Preview Lab → · Contrast checker → · Palette generator →

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