#6C8A40#6C8A40

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

Color values

HEX#6C8A40
RGBrgb(108, 138, 64)
HSLhsl(84, 37%, 40%)
HSVhsv(84, 54%, 54%)
CMYKcmyk(21.7%, 0%, 53.6%, 45.9%)
CIE-LABlab(53.74, -23.41, 35.82)
CIE-LCHlch(53.74, 42.79, 123.17°)
OKLaboklab(59.32% -0.0655 0.085)
OKLCHoklch(59.32% 0.107 127.6)
XYZxyz(16.1982, 21.7350, 8.1914)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A40 #5E408A
analogous
#8A8340 #6C8A40 #478A40
triadic
#6C8A40 #406C8A #8A406C
tetradic
#6C8A40 #408A83 #5E408A #8A4047
square
#6C8A40 #408A83 #5E408A #8A4047
split-complementary
#6C8A40 #40478A #83408A
monochromatic
#2B3619 #4B602D #6C8A40 #8CB156 #A9C480

Accessibility & contrast

On white

3.93
#6C8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A40#FFFFFF#000000##000000
##6C8A401.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#8C8045
Tritanopia (blue-blind)
#6F8479
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a40;
/* rgb */ color: rgb(108, 138, 64);
/* oklch */ color: oklch(59.3% 0.107 127.6);
Tailwind
colors: {
  custom: {
    50: '#98ac77',
    500: '#6c8a40',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a40;
$custom-light: #98ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a40",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 84.324,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.10729,
    "h": 127.6
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#6C8A40
secondary
#8E77AF
accent
#5BCD89
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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