#6C8D40#6C8D40

#6C8D40 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.1% C 0.112 H 128.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8D40
RGBrgb(108, 141, 64)
HSLhsl(86, 38%, 40%)
HSVhsv(86, 55%, 55%)
CMYKcmyk(23.4%, 0%, 54.6%, 44.7%)
CIE-LABlab(54.67, -24.92, 36.91)
CIE-LCHlch(54.67, 44.53, 124.02°)
OKLaboklab(60.06% -0.0697 0.0874)
OKLCHoklch(60.06% 0.112 128.6)
XYZxyz(16.6345, 22.6078, 8.3368)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D40 #61408D
analogous
#8D8740 #6C8D40 #468D40
triadic
#6C8D40 #406C8D #8D406C
tetradic
#6C8D40 #408D87 #61408D #8D4046
square
#6C8D40 #408D87 #61408D #8D4046
split-complementary
#6C8D40 #40468D #87408D
monochromatic
#2C391A #4C632D #6C8D40 #8CB357 #A9C681

Accessibility & contrast

On white

3.80
#6C8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D40
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D40#FFFFFF#000000##000000
##6C8D401.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#8F8245
Tritanopia (blue-blind)
#6F877C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8d40;
/* rgb */ color: rgb(108, 141, 64);
/* oklch */ color: oklch(60.1% 0.112 128.6);
Tailwind
colors: {
  custom: {
    50: '#98ae77',
    500: '#6c8d40',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d40;
$custom-light: #98ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d40",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 85.714,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60061,
    "c": 0.11174,
    "h": 128.6
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#6C8D40
secondary
#9078B0
accent
#5ACE8C
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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