#6C8A34#6C8A34

#6C8A34 is a mid, moderate yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.119 H 126.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C8A34
RGBrgb(108, 138, 52)
HSLhsl(81, 45%, 37%)
HSVhsv(81, 62%, 54%)
CMYKcmyk(21.7%, 0%, 62.3%, 45.9%)
CIE-LABlab(53.61, -24.60, 41.53)
CIE-LCHlch(53.61, 48.27, 120.64°)
OKLaboklab(59.17% -0.0699 0.096)
OKLCHoklch(59.17% 0.119 126.1)
XYZxyz(15.8927, 21.6128, 6.5825)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A34 #52348A
analogous
#8A7D34 #6C8A34 #418A34
triadic
#6C8A34 #346C8A #8A346C
tetradic
#6C8A34 #348A7D #52348A #8A3441
square
#6C8A34 #348A7D #52348A #8A3441
split-complementary
#6C8A34 #34418A #7D348A
monochromatic
#263113 #495E23 #6C8A34 #8FB645 #AAC96F

Accessibility & contrast

On white

3.95
#6C8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6C8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A34
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A34#FFFFFF#000000##000000
##6C8A341.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#708478
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a34;
/* rgb */ color: rgb(108, 138, 52);
/* oklch */ color: oklch(59.2% 0.119 126.1);
Tailwind
colors: {
  custom: {
    50: '#98ac6f',
    500: '#6c8a34',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a34;
$custom-light: #98ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a34",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 80.93,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.11876,
    "h": 126.1
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#6C8A34
secondary
#8269B1
accent
#53D580
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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