#6C8117#6C8117

#6C8117 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.127 H 120.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C8117
RGBrgb(108, 129, 23)
HSLhsl(72, 70%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16.3%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.63, -21.95, 49.98)
CIE-LCHlch(50.63, 54.59, 113.71°)
OKLaboklab(56.69% -0.0653 0.1092)
OKLCHoklch(56.69% 0.127 120.9)
XYZxyz(14.1895, 18.9505, 3.7207)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8117 #2C1781
analogous
#816117 #6C8117 #378117
triadic
#6C8117 #176C81 #81176C
tetradic
#6C8117 #178161 #2C1781 #811737
square
#6C8117 #178161 #2C1781 #811737
split-complementary
#6C8117 #173781 #611781
monochromatic
#161A05 #414D0E #6C8117 #97B520 #BBDB37

Accessibility & contrast

On white

4.38
#6C8117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6C8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8117
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8117#FFFFFF#000000##000000
##6C81171.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#737A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8117;
/* rgb */ color: rgb(108, 129, 23);
/* oklch */ color: oklch(56.7% 0.127 120.9);
Tailwind
colors: {
  custom: {
    50: '#99a55f',
    500: '#6c8117',
    950: '#000000',
  },
}
SCSS
$custom: #6c8117;
$custom-light: #99a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8117",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 71.887,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.1272,
    "h": 120.9
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#6C8117
secondary
#563EB5
accent
#3BED5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8117

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

Preview Lab → · Contrast checker → · Palette generator →

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