#6C8012#6C8012

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

Color values

HEX#6C8012
RGBrgb(108, 128, 18)
HSLhsl(71, 75%, 29%)
HSVhsv(71, 86%, 50%)
CMYKcmyk(15.6%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.30, -21.63, 51.10)
CIE-LCHlch(50.30, 55.49, 112.95°)
OKLaboklab(56.42% -0.0647 0.1107)
OKLCHoklch(56.42% 0.128 120.3)
XYZxyz(14.0130, 18.6702, 3.4376)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8012 #261280
analogous
#805D12 #6C8012 #358012
triadic
#6C8012 #126C80 #80126C
tetradic
#6C8012 #12805D #261280 #801235
square
#6C8012 #12805D #261280 #801235
split-complementary
#6C8012 #123580 #5D1280
monochromatic
#171B04 #3F4A0A #6C8012 #99B61A #C0E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8012#FFFFFF#000000##000000
##6C80121.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)
#86781F
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8012;
/* rgb */ color: rgb(108, 128, 18);
/* oklch */ color: oklch(56.4% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#9aa45d',
    500: '#6c8012',
    950: '#000000',
  },
}
SCSS
$custom: #6c8012;
$custom-light: #9aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8012",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 70.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.12824,
    "h": 120.3
  },
  "luminance": 0.1867
}

Semantic roles & 50–950 ramp

primary
#6C8012
secondary
#4F38B6
accent
#36F258
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8012

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

Preview Lab → · Contrast checker → · Palette generator →

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