#6C8115#6C8115

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

Color values

HEX#6C8115
RGBrgb(108, 129, 21)
HSLhsl(72, 72%, 29%)
HSVhsv(72, 84%, 51%)
CMYKcmyk(16.3%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.62, -22.03, 50.56)
CIE-LCHlch(50.62, 55.15, 113.55°)
OKLaboklab(56.68% -0.0656 0.1101)
OKLCHoklch(56.68% 0.128 120.8)
XYZxyz(14.1702, 18.9428, 3.6191)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8115 #2A1581
analogous
#816015 #6C8115 #368115
triadic
#6C8115 #156C81 #81156C
tetradic
#6C8115 #158160 #2A1581 #811536
square
#6C8115 #158160 #2A1581 #811536
split-complementary
#6C8115 #153681 #601581
monochromatic
#161A04 #404C0C #6C8115 #98B61E #BCDE33

Accessibility & contrast

On white

4.39
#6C8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8115#FFFFFF#000000##000000
##6C81151.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8115;
/* rgb */ color: rgb(108, 129, 21);
/* oklch */ color: oklch(56.7% 0.128 120.8);
Tailwind
colors: {
  custom: {
    50: '#99a55e',
    500: '#6c8115',
    950: '#000000',
  },
}
SCSS
$custom: #6c8115;
$custom-light: #99a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8115",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 71.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.12814,
    "h": 120.8
  },
  "luminance": 0.18943
}

Semantic roles & 50–950 ramp

primary
#6C8115
secondary
#543CB6
accent
#39EF5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8115

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

Preview Lab → · Contrast checker → · Palette generator →

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