#6C8011#6C8011

#6C8011 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.129 H 120.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6C8011
RGBrgb(108, 128, 17)
HSLhsl(71, 77%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(15.6%, 0%, 86.7%, 49.8%)
CIE-LABlab(50.30, -21.67, 51.35)
CIE-LCHlch(50.30, 55.73, 112.88°)
OKLaboklab(56.42% -0.0649 0.1111)
OKLCHoklch(56.42% 0.129 120.3)
XYZxyz(14.0050, 18.6670, 3.3955)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8011 #251180
analogous
#805C11 #6C8011 #348011
triadic
#6C8011 #116C80 #80116C
tetradic
#6C8011 #11805C #251180 #801134
square
#6C8011 #11805C #251180 #801134
split-complementary
#6C8011 #113480 #5C1180
monochromatic
#171B04 #3E4A0A #6C8011 #9AB618 #C1E329

Accessibility & contrast

On white

4.44
#6C8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6C8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8011
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8011#FFFFFF#000000##000000
##6C80111.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8011;
/* rgb */ color: rgb(108, 128, 17);
/* oklch */ color: oklch(56.4% 0.129 120.3);
Tailwind
colors: {
  custom: {
    50: '#9aa45c',
    500: '#6c8011',
    950: '#000000',
  },
}
SCSS
$custom: #6c8011;
$custom-light: #9aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8011",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 70.811,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.12864,
    "h": 120.3
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#6C8011
secondary
#4E37B6
accent
#35F357
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8011

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

Preview Lab → · Contrast checker → · Palette generator →

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