#6C873B#6C873B

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

Color values

HEX#6C873B
RGBrgb(108, 135, 59)
HSLhsl(81, 39%, 38%)
HSVhsv(81, 56%, 53%)
CMYKcmyk(20%, 0%, 56.3%, 47.1%)
CIE-LABlab(52.76, -22.42, 37.19)
CIE-LCHlch(52.76, 43.42, 121.09°)
OKLaboklab(58.51% -0.0632 0.0875)
OKLCHoklch(58.51% 0.108 125.8)
XYZxyz(15.6377, 20.8317, 7.3339)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C873B #563B87
analogous
#877C3B #6C873B #46873B
triadic
#6C873B #3B6C87 #873B6C
tetradic
#6C873B #3B877C #563B87 #873B46
square
#6C873B #3B877C #563B87 #873B46
split-complementary
#6C873B #3B4687 #7C3B87
monochromatic
#283216 #4A5C28 #6C873B #8EB24E #A9C478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C873B#FFFFFF#000000##000000
##6C873B1.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)
#8E7F34
Deuteranopia (green-blind)
#8A7E40
Tritanopia (blue-blind)
#708176
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c873b;
/* rgb */ color: rgb(108, 135, 59);
/* oklch */ color: oklch(58.5% 0.108 125.8);
Tailwind
colors: {
  custom: {
    50: '#98aa73',
    500: '#6c873b',
    950: '#000000',
  },
}
SCSS
$custom: #6c873b;
$custom-light: #98aa73;
$custom-dark: #000000;
JSON
{
  "hex": "#6c873b",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 81.316,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.10791,
    "h": 125.8
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#6C873B
secondary
#8670AE
accent
#59CF83
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C873B

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

Preview Lab → · Contrast checker → · Palette generator →

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