#6C8B27#6C8B27

#6C8B27 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.130 H 125.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C8B27
RGBrgb(108, 139, 39)
HSLhsl(79, 56%, 35%)
HSVhsv(79, 72%, 55%)
CMYKcmyk(22.3%, 0%, 71.9%, 45.5%)
CIE-LABlab(53.81, -26.10, 47.37)
CIE-LCHlch(53.81, 54.08, 118.85°)
OKLaboklab(59.3% -0.0753 0.1064)
OKLCHoklch(59.3% 0.13 125.3)
XYZxyz(15.7833, 21.7997, 5.2953)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B27 #46278B
analogous
#8B7827 #6C8B27 #3A8B27
triadic
#6C8B27 #276C8B #8B276C
tetradic
#6C8B27 #278B78 #46278B #8B273A
square
#6C8B27 #278B78 #46278B #8B273A
split-complementary
#6C8B27 #273A8B #78278B
monochromatic
#222B0C #475B1A #6C8B27 #91BB34 #ADD15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B27#FFFFFF#000000##000000
##6C8B271.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b27;
/* rgb */ color: rgb(108, 139, 39);
/* oklch */ color: oklch(59.3% 0.130 125.3);
Tailwind
colors: {
  custom: {
    50: '#99ad68',
    500: '#6c8b27',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b27;
$custom-light: #99ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b27",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 78.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.13037,
    "h": 125.3
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#6C8B27
secondary
#7558B6
accent
#48DF77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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