#6B8940#6B8940

#6B8940 is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.106 H 127.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B8940
RGBrgb(107, 137, 64)
HSLhsl(85, 36%, 39%)
HSVhsv(85, 53%, 54%)
CMYKcmyk(21.9%, 0%, 53.3%, 46.3%)
CIE-LABlab(53.37, -23.31, 35.36)
CIE-LCHlch(53.37, 42.35, 123.40°)
OKLaboklab(59% -0.0652 0.084)
OKLCHoklch(59% 0.106 127.8)
XYZxyz(15.9344, 21.3870, 8.1381)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8940 #5E4089
analogous
#898340 #6B8940 #478940
triadic
#6B8940 #406B89 #89406B
tetradic
#6B8940 #408983 #5E4089 #894047
square
#6B8940 #408983 #5E4089 #894047
split-complementary
#6B8940 #404789 #834089
monochromatic
#2A3619 #4A5F2D #6B8940 #8BB056 #A8C480

Accessibility & contrast

On white

3.98
#6B8940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6B8940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8940
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8940#FFFFFF#000000##000000
##6B89401.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#8B7F45
Tritanopia (blue-blind)
#6E8478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8940;
/* rgb */ color: rgb(107, 137, 64);
/* oklch */ color: oklch(59.0% 0.106 127.8);
Tailwind
colors: {
  custom: {
    50: '#97ab77',
    500: '#6b8940',
    950: '#000000',
  },
}
SCSS
$custom: #6b8940;
$custom-light: #97ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8940",
  "rgb": {
    "r": 107,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 84.658,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.10629,
    "h": 127.8
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#6B8940
secondary
#8D77AE
accent
#5BCC8A
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6B8940

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

Preview Lab → · Contrast checker → · Palette generator →

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