#6C8140#6C8140

#6C8140 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.094 H 124.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6C8140
RGBrgb(108, 129, 64)
HSLhsl(79, 34%, 38%)
HSVhsv(79, 50%, 51%)
CMYKcmyk(16.3%, 0%, 50.4%, 49.4%)
CIE-LABlab(50.99, -18.78, 32.51)
CIE-LCHlch(50.99, 37.55, 120.02°)
OKLaboklab(57.1% -0.0526 0.0777)
OKLCHoklch(57.1% 0.094 124.1)
XYZxyz(14.9600, 19.2587, 7.7787)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8140 #554081
analogous
#817640 #6C8140 #4B8140
triadic
#6C8140 #406C81 #81406C
tetradic
#6C8140 #408176 #554081 #81404B
square
#6C8140 #408176 #554081 #81404B
split-complementary
#6C8140 #404B81 #764081
monochromatic
#282F17 #4A582C #6C8140 #8EAA54 #A9BE7D

Accessibility & contrast

On white

4.33
#6C8140 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6C8140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8140
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8140#FFFFFF#000000##000000
##6C81401.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#707C72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8140;
/* rgb */ color: rgb(108, 129, 64);
/* oklch */ color: oklch(57.1% 0.094 124.1);
Tailwind
colors: {
  custom: {
    50: '#97a576',
    500: '#6c8140',
    950: '#000000',
  },
}
SCSS
$custom: #6c8140;
$custom-light: #97a576;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8140",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 79.385,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.09382,
    "h": 124.1
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#6C8140
secondary
#8574A9
accent
#5ECA81
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E0F08
muted
#7E7F7B

Preview Lab

Preview with #6C8140

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

Preview Lab → · Contrast checker → · Palette generator →

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