#6D8017#6D8017

#6D8017 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.126 H 120.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6D8017
RGBrgb(109, 128, 23)
HSLhsl(71, 70%, 30%)
HSVhsv(71, 82%, 50%)
CMYKcmyk(14.8%, 0%, 82%, 49.8%)
CIE-LABlab(50.40, -21.00, 49.79)
CIE-LCHlch(50.40, 54.04, 112.86°)
OKLaboklab(56.52% -0.0627 0.1088)
OKLCHoklch(56.52% 0.126 120)
XYZxyz(14.1808, 18.7515, 3.6828)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8017 #2A1780
analogous
#805F17 #6D8017 #398017
triadic
#6D8017 #176D80 #80176D
tetradic
#6D8017 #17805F #2A1780 #801739
square
#6D8017 #17805F #2A1780 #801739
split-complementary
#6D8017 #173980 #5F1780
monochromatic
#161A05 #414C0E #6D8017 #99B420 #BDDB36

Accessibility & contrast

On white

4.42
#6D8017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6D8017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8017
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8017#FFFFFF#000000##000000
##6D80171.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8017;
/* rgb */ color: rgb(109, 128, 23);
/* oklch */ color: oklch(56.5% 0.126 120.0);
Tailwind
colors: {
  custom: {
    50: '#9aa45f',
    500: '#6d8017',
    950: '#000000',
  },
}
SCSS
$custom: #6d8017;
$custom-light: #9aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8017",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 70.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.12554,
    "h": 120
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#6D8017
secondary
#543EB4
accent
#3BEC5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8017

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

Preview Lab → · Contrast checker → · Palette generator →

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