#7C866E#7C866E

#7C866E is a mid, muted yellow-green. Relative luminance 0.225; OKLCH L 60.5% C 0.037 H 125.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7C866E
RGBrgb(124, 134, 110)
HSLhsl(85, 10%, 48%)
HSVhsv(85, 18%, 53%)
CMYKcmyk(7.5%, 0%, 17.9%, 47.5%)
CIE-LABlab(54.51, -8.28, 11.71)
CIE-LCHlch(54.51, 14.34, 125.26°)
OKLaboklab(60.49% -0.0218 0.0301)
OKLCHoklch(60.49% 0.037 125.9)
XYZxyz(19.6513, 22.4610, 18.0490)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C866E #786E86
analogous
#86846E #7C866E #70866E
triadic
#7C866E #6E7C86 #866E7C
tetradic
#7C866E #6E8684 #786E86 #866E70
square
#7C866E #6E8684 #786E86 #866E70
split-complementary
#7C866E #6E7086 #846E86
monochromatic
#3E4337 #5D6452 #7C866E #9AA38F #B8BEB0

Accessibility & contrast

On white

3.82
#7C866E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7C866E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C866E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C866E#FFFFFF#000000##000000
##7C866E1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89836D
Deuteranopia (green-blind)
#87826F
Tritanopia (blue-blind)
#7E847F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c866e;
/* rgb */ color: rgb(124, 134, 110);
/* oklch */ color: oklch(60.5% 0.037 125.9);
Tailwind
colors: {
  custom: {
    50: '#a2a997',
    500: '#7c866e',
    950: '#000000',
  },
}
SCSS
$custom: #7c866e;
$custom-light: #a2a997;
$custom-dark: #000000;
JSON
{
  "hex": "#7c866e",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 110
  },
  "hsl": {
    "h": 85,
    "s": 9.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.03719,
    "h": 125.9
  },
  "luminance": 0.22461
}

Semantic roles & 50–950 ramp

primary
#7C866E
secondary
#A7A2AE
accent
#75B38F
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F0F0D
muted
#7E7F7E

Preview Lab

Preview with #7C866E

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

Preview Lab → · Contrast checker → · Palette generator →

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