#6B8011#6B8011

#6B8011 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.129 H 120.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6B8011
RGBrgb(107, 128, 17)
HSLhsl(71, 77%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(16.4%, 0%, 86.7%, 49.8%)
CIE-LABlab(50.22, -22.11, 51.26)
CIE-LCHlch(50.22, 55.82, 113.33°)
OKLaboklab(56.34% -0.066 0.1109)
OKLCHoklch(56.34% 0.129 120.8)
XYZxyz(13.8840, 18.6046, 3.3898)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8011 #261180
analogous
#805D11 #6B8011 #338011
triadic
#6B8011 #116B80 #80116B
tetradic
#6B8011 #11805D #261180 #801133
square
#6B8011 #11805D #261180 #801133
split-complementary
#6B8011 #113380 #5D1180
monochromatic
#171B04 #3E4A0A #6B8011 #98B618 #BFE329

Accessibility & contrast

On white

4.45
#6B8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6B8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8011
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8011#FFFFFF#000000##000000
##6B80111.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8011;
/* rgb */ color: rgb(107, 128, 17);
/* oklch */ color: oklch(56.3% 0.129 120.8);
Tailwind
colors: {
  custom: {
    50: '#99a45c',
    500: '#6b8011',
    950: '#000000',
  },
}
SCSS
$custom: #6b8011;
$custom-light: #99a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8011",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 71.351,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.12909,
    "h": 120.8
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#6B8011
secondary
#4F37B6
accent
#35F359
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8011

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

Preview Lab → · Contrast checker → · Palette generator →

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