#6C873C#6C873C

#6C873C is a mid, moderate yellow-green. Relative luminance 0.208; OKLCH L 58.5% C 0.107 H 126.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6C873C
RGBrgb(108, 135, 60)
HSLhsl(82, 38%, 38%)
HSVhsv(82, 56%, 53%)
CMYKcmyk(20%, 0%, 55.6%, 47.1%)
CIE-LABlab(52.78, -22.32, 36.70)
CIE-LCHlch(52.78, 42.95, 121.31°)
OKLaboklab(58.52% -0.0628 0.0865)
OKLCHoklch(58.52% 0.107 126)
XYZxyz(15.6639, 20.8422, 7.4718)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C873C #573C87
analogous
#877C3C #6C873C #46873C
triadic
#6C873C #3C6C87 #873C6C
tetradic
#6C873C #3C877C #573C87 #873C46
square
#6C873C #3C877C #573C87 #873C46
split-complementary
#6C873C #3C4687 #7C3C87
monochromatic
#283216 #4A5D29 #6C873C #8EB14F #A9C47A

Accessibility & contrast

On white

4.06
#6C873C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6C873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C873C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C873C#FFFFFF#000000##000000
##6C873C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F35
Deuteranopia (green-blind)
#8A7E41
Tritanopia (blue-blind)
#708176
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c873c;
/* rgb */ color: rgb(108, 135, 60);
/* oklch */ color: oklch(58.5% 0.107 126.0);
Tailwind
colors: {
  custom: {
    50: '#98aa74',
    500: '#6c873c',
    950: '#000000',
  },
}
SCSS
$custom: #6c873c;
$custom-light: #98aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#6c873c",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 81.6,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.10691,
    "h": 126
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#6C873C
secondary
#8771AD
accent
#59CE84
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C873C

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

Preview Lab → · Contrast checker → · Palette generator →

#6C873C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva