#6C8A42#6C8A42

#6C8A42 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.105 H 128.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C8A42
RGBrgb(108, 138, 66)
HSLhsl(85, 35%, 40%)
HSVhsv(85, 52%, 54%)
CMYKcmyk(21.7%, 0%, 52.2%, 45.9%)
CIE-LABlab(53.77, -23.19, 34.83)
CIE-LCHlch(53.77, 41.84, 123.66°)
OKLaboklab(59.35% -0.0647 0.083)
OKLCHoklch(59.35% 0.105 128)
XYZxyz(16.2561, 21.7582, 8.4965)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A42 #60428A
analogous
#8A8442 #6C8A42 #488A42
triadic
#6C8A42 #426C8A #8A426C
tetradic
#6C8A42 #428A84 #60428A #8A4248
square
#6C8A42 #428A84 #60428A #8A4248
split-complementary
#6C8A42 #42488A #84428A
monochromatic
#2B371A #4C612E #6C8A42 #8CB059 #A9C483

Accessibility & contrast

On white

3.92
#6C8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6C8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A42
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A42#FFFFFF#000000##000000
##6C8A421.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#8C8046
Tritanopia (blue-blind)
#6F857A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a42;
/* rgb */ color: rgb(108, 138, 66);
/* oklch */ color: oklch(59.3% 0.105 128.0);
Tailwind
colors: {
  custom: {
    50: '#98ac78',
    500: '#6c8a42',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a42;
$custom-light: #98ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a42",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 85,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.10522,
    "h": 128
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#6C8A42
secondary
#8F79AE
accent
#5CCB8B
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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