#6C8112#6C8112

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

Color values

HEX#6C8112
RGBrgb(108, 129, 18)
HSLhsl(71, 76%, 29%)
HSVhsv(71, 86%, 51%)
CMYKcmyk(16.3%, 0%, 86%, 49.4%)
CIE-LABlab(50.61, -22.14, 51.36)
CIE-LCHlch(50.61, 55.93, 113.32°)
OKLaboklab(56.67% -0.0661 0.1113)
OKLCHoklch(56.67% 0.129 120.7)
XYZxyz(14.1441, 18.9324, 3.4813)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8112 #271281
analogous
#815F12 #6C8112 #358112
triadic
#6C8112 #126C81 #81126C
tetradic
#6C8112 #12815F #271281 #811235
square
#6C8112 #12815F #271281 #811235
split-complementary
#6C8112 #123581 #5F1281
monochromatic
#161B04 #3F4B0B #6C8112 #99B719 #BFE22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8112#FFFFFF#000000##000000
##6C81121.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)
#87791F
Tritanopia (blue-blind)
#737A6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8112;
/* rgb */ color: rgb(108, 129, 18);
/* oklch */ color: oklch(56.7% 0.129 120.7);
Tailwind
colors: {
  custom: {
    50: '#9aa55d',
    500: '#6c8112',
    950: '#000000',
  },
}
SCSS
$custom: #6c8112;
$custom-light: #9aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8112",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 71.351,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.12944,
    "h": 120.7
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#6C8112
secondary
#5038B7
accent
#36F259
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8112

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

Preview Lab → · Contrast checker → · Palette generator →

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