#6B8017#6B8017

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

Color values

HEX#6B8017
RGBrgb(107, 128, 23)
HSLhsl(72, 70%, 30%)
HSVhsv(72, 82%, 50%)
CMYKcmyk(16.4%, 0%, 82%, 49.8%)
CIE-LABlab(50.25, -21.88, 49.61)
CIE-LCHlch(50.25, 54.22, 113.80°)
OKLaboklab(56.36% -0.065 0.1084)
OKLCHoklch(56.36% 0.126 120.9)
XYZxyz(13.9375, 18.6260, 3.6714)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8017 #2C1780
analogous
#806117 #6B8017 #378017
triadic
#6B8017 #176B80 #80176B
tetradic
#6B8017 #178061 #2C1780 #801737
square
#6B8017 #178061 #2C1780 #801737
split-complementary
#6B8017 #173780 #611780
monochromatic
#161A05 #404C0E #6B8017 #96B420 #BADB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8017#FFFFFF#000000##000000
##6B80171.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)
#887800
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#71796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8017;
/* rgb */ color: rgb(107, 128, 23);
/* oklch */ color: oklch(56.4% 0.126 120.9);
Tailwind
colors: {
  custom: {
    50: '#99a45f',
    500: '#6b8017',
    950: '#000000',
  },
}
SCSS
$custom: #6b8017;
$custom-light: #99a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8017",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 72,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.12643,
    "h": 120.9
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#6B8017
secondary
#563EB4
accent
#3BEC5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8017

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

Preview Lab → · Contrast checker → · Palette generator →

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