#6C8111#6C8111

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

Color values

HEX#6C8111
RGBrgb(108, 129, 17)
HSLhsl(71, 77%, 29%)
HSVhsv(71, 87%, 51%)
CMYKcmyk(16.3%, 0%, 86.8%, 49.4%)
CIE-LABlab(50.60, -22.18, 51.61)
CIE-LCHlch(50.60, 56.18, 113.25°)
OKLaboklab(56.66% -0.0663 0.1116)
OKLCHoklch(56.66% 0.13 120.7)
XYZxyz(14.1361, 18.9292, 3.4392)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8111 #261181
analogous
#815E11 #6C8111 #348111
triadic
#6C8111 #116C81 #81116C
tetradic
#6C8111 #11815E #261181 #811134
square
#6C8111 #11815E #261181 #811134
split-complementary
#6C8111 #113481 #5E1181
monochromatic
#171B04 #3F4B0A #6C8111 #99B718 #C0E32A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6c8111;
/* rgb */ color: rgb(108, 129, 17);
/* oklch */ color: oklch(56.7% 0.130 120.7);
Tailwind
colors: {
  custom: {
    50: '#9aa55d',
    500: '#6c8111',
    950: '#000000',
  },
}
SCSS
$custom: #6c8111;
$custom-light: #9aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8111",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 71.25,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.12984,
    "h": 120.7
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#6C8111
secondary
#4F37B7
accent
#35F358
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8111

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

Preview Lab → · Contrast checker → · Palette generator →

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