#6C8240#6C8240

#6C8240 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.3% C 0.095 H 124.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C8240
RGBrgb(108, 130, 64)
HSLhsl(80, 34%, 38%)
HSVhsv(80, 51%, 51%)
CMYKcmyk(16.9%, 0%, 50.8%, 49%)
CIE-LABlab(51.29, -19.31, 32.88)
CIE-LCHlch(51.29, 38.13, 120.42°)
OKLaboklab(57.34% -0.054 0.0785)
OKLCHoklch(57.34% 0.095 124.5)
XYZxyz(15.0924, 19.5235, 7.8228)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8240 #564082
analogous
#827740 #6C8240 #4B8240
triadic
#6C8240 #406C82 #82406C
tetradic
#6C8240 #408277 #564082 #82404B
square
#6C8240 #408277 #564082 #82404B
split-complementary
#6C8240 #404B82 #774082
monochromatic
#283018 #4A592C #6C8240 #8EAB54 #A9BF7D

Accessibility & contrast

On white

4.28
#6C8240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C8240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8240
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8240#FFFFFF#000000##000000
##6C82401.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#707D73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8240;
/* rgb */ color: rgb(108, 130, 64);
/* oklch */ color: oklch(57.3% 0.095 124.5);
Tailwind
colors: {
  custom: {
    50: '#97a676',
    500: '#6c8240',
    950: '#000000',
  },
}
SCSS
$custom: #6c8240;
$custom-light: #97a676;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8240",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.09531,
    "h": 124.5
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#6C8240
secondary
#8674AA
accent
#5ECA82
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E0F08
muted
#7E7F7B

Preview Lab

Preview with #6C8240

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

Preview Lab → · Contrast checker → · Palette generator →

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