#6C8016#6C8016

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

Color values

HEX#6C8016
RGBrgb(108, 128, 22)
HSLhsl(71, 71%, 29%)
HSVhsv(71, 83%, 50%)
CMYKcmyk(15.6%, 0%, 82.8%, 49.8%)
CIE-LABlab(50.32, -21.48, 50.00)
CIE-LCHlch(50.32, 54.42, 113.25°)
OKLaboklab(56.44% -0.064 0.1091)
OKLCHoklch(56.44% 0.126 120.4)
XYZxyz(14.0486, 18.6845, 3.6253)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8016 #2A1680
analogous
#805F16 #6C8016 #378016
triadic
#6C8016 #166C80 #80166C
tetradic
#6C8016 #16805F #2A1680 #801637
square
#6C8016 #16805F #2A1680 #801637
split-complementary
#6C8016 #163780 #5F1680
monochromatic
#161A04 #404C0D #6C8016 #98B41F #BCDC34

Accessibility & contrast

On white

4.43
#6C8016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6C8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8016
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8016#FFFFFF#000000##000000
##6C80161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8016;
/* rgb */ color: rgb(108, 128, 22);
/* oklch */ color: oklch(56.4% 0.126 120.4);
Tailwind
colors: {
  custom: {
    50: '#99a45e',
    500: '#6c8016',
    950: '#000000',
  },
}
SCSS
$custom: #6c8016;
$custom-light: #99a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8016",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 71.321,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.12647,
    "h": 120.4
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#6C8016
secondary
#543DB5
accent
#3AED5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8016

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

Preview Lab → · Contrast checker → · Palette generator →

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