#6C8342#6C8342

#6C8342 is a mid, moderate yellow-green. Relative luminance 0.198; OKLCH L 57.6% C 0.095 H 125.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6C8342
RGBrgb(108, 131, 66)
HSLhsl(81, 33%, 39%)
HSVhsv(81, 50%, 51%)
CMYKcmyk(17.6%, 0%, 49.6%, 48.6%)
CIE-LABlab(51.63, -19.60, 32.23)
CIE-LCHlch(51.63, 37.72, 121.30°)
OKLaboklab(57.62% -0.0547 0.0773)
OKLCHoklch(57.62% 0.095 125.3)
XYZxyz(15.2840, 19.8140, 8.1725)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8342 #594283
analogous
#837942 #6C8342 #4B8342
triadic
#6C8342 #426C83 #83426C
tetradic
#6C8342 #428379 #594283 #83424B
square
#6C8342 #428379 #594283 #83424B
split-complementary
#6C8342 #424B83 #794283
monochromatic
#293219 #4A5A2D #6C8342 #8DAB58 #A9BF80

Accessibility & contrast

On white

4.23
#6C8342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6C8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8342
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8342#FFFFFF#000000##000000
##6C83421.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3C
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#707E74
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8342;
/* rgb */ color: rgb(108, 131, 66);
/* oklch */ color: oklch(57.6% 0.095 125.3);
Tailwind
colors: {
  custom: {
    50: '#97a778',
    500: '#6c8342',
    950: '#000000',
  },
}
SCSS
$custom: #6c8342;
$custom-light: #97a778;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8342",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 81.231,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.09464,
    "h": 125.3
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#6C8342
secondary
#8977AA
accent
#5FC984
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E0F09
muted
#7E7F7B

Preview Lab

Preview with #6C8342

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

Preview Lab → · Contrast checker → · Palette generator →

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