#6C8017#6C8017

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

Color values

HEX#6C8017
RGBrgb(108, 128, 23)
HSLhsl(71, 70%, 30%)
HSVhsv(71, 82%, 50%)
CMYKcmyk(15.6%, 0%, 82%, 49.8%)
CIE-LABlab(50.32, -21.44, 49.70)
CIE-LCHlch(50.32, 54.13, 113.33°)
OKLaboklab(56.44% -0.0639 0.1086)
OKLCHoklch(56.44% 0.126 120.5)
XYZxyz(14.0584, 18.6884, 3.6770)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8017 #2B1780
analogous
#806017 #6C8017 #378017
triadic
#6C8017 #176C80 #80176C
tetradic
#6C8017 #178060 #2B1780 #801737
square
#6C8017 #178060 #2B1780 #801737
split-complementary
#6C8017 #173780 #601780
monochromatic
#161A05 #404C0E #6C8017 #98B420 #BCDB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8017#FFFFFF#000000##000000
##6C80171.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)
#867822
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8017;
/* rgb */ color: rgb(108, 128, 23);
/* oklch */ color: oklch(56.4% 0.126 120.5);
Tailwind
colors: {
  custom: {
    50: '#99a45f',
    500: '#6c8017',
    950: '#000000',
  },
}
SCSS
$custom: #6c8017;
$custom-light: #99a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8017",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 71.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.12598,
    "h": 120.5
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#6C8017
secondary
#553EB4
accent
#3BEC5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8017

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

Preview Lab → · Contrast checker → · Palette generator →

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