#6C873A#6C873A

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

Color values

HEX#6C873A
RGBrgb(108, 135, 58)
HSLhsl(81, 40%, 38%)
HSVhsv(81, 57%, 53%)
CMYKcmyk(20%, 0%, 57%, 47.1%)
CIE-LABlab(52.75, -22.52, 37.67)
CIE-LCHlch(52.75, 43.89, 120.88°)
OKLaboklab(58.5% -0.0636 0.0884)
OKLCHoklch(58.5% 0.109 125.7)
XYZxyz(15.6120, 20.8214, 7.1986)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C873A #553A87
analogous
#877B3A #6C873A #45873A
triadic
#6C873A #3A6C87 #873A6C
tetradic
#6C873A #3A877B #553A87 #873A45
square
#6C873A #3A877B #553A87 #873A45
split-complementary
#6C873A #3A4587 #7B3A87
monochromatic
#283115 #4A5C28 #6C873A #8EB24C #A9C577

Accessibility & contrast

On white

4.07
#6C873A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6C873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C873A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C873A#FFFFFF#000000##000000
##6C873A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c873a;
/* rgb */ color: rgb(108, 135, 58);
/* oklch */ color: oklch(58.5% 0.109 125.7);
Tailwind
colors: {
  custom: {
    50: '#98aa73',
    500: '#6c873a',
    950: '#000000',
  },
}
SCSS
$custom: #6c873a;
$custom-light: #98aa73;
$custom-dark: #000000;
JSON
{
  "hex": "#6c873a",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 81.039,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.1089,
    "h": 125.7
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#6C873A
secondary
#856FAE
accent
#58D082
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C873A

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

Preview Lab → · Contrast checker → · Palette generator →

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