#6D8A42#6D8A42

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

Color values

HEX#6D8A42
RGBrgb(109, 138, 66)
HSLhsl(84, 35%, 40%)
HSVhsv(84, 52%, 54%)
CMYKcmyk(21%, 0%, 52.2%, 45.9%)
CIE-LABlab(53.84, -22.78, 34.92)
CIE-LCHlch(53.84, 41.70, 123.12°)
OKLaboklab(59.42% -0.0636 0.0832)
OKLCHoklch(59.42% 0.105 127.4)
XYZxyz(16.3784, 21.8213, 8.5022)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A42 #5F428A
analogous
#8A8342 #6D8A42 #498A42
triadic
#6D8A42 #426D8A #8A426D
tetradic
#6D8A42 #428A83 #5F428A #8A4249
square
#6D8A42 #428A83 #5F428A #8A4249
split-complementary
#6D8A42 #42498A #83428A
monochromatic
#2C371A #4C612E #6D8A42 #8DB059 #A9C483

Accessibility & contrast

On white

3.91
#6D8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6D8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A42
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A42#FFFFFF#000000##000000
##6D8A421.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#8C8046
Tritanopia (blue-blind)
#70847A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6d8a42;
/* rgb */ color: rgb(109, 138, 66);
/* oklch */ color: oklch(59.4% 0.105 127.4);
Tailwind
colors: {
  custom: {
    50: '#98ac78',
    500: '#6d8a42',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a42;
$custom-light: #98ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a42",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 84.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.10472,
    "h": 127.4
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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