#6D8517#6D8517

#6D8517 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.8% C 0.132 H 122.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6D8517
RGBrgb(109, 133, 23)
HSLhsl(73, 71%, 31%)
HSVhsv(73, 83%, 52%)
CMYKcmyk(18%, 0%, 82.7%, 47.8%)
CIE-LABlab(51.94, -23.54, 51.17)
CIE-LCHlch(51.94, 56.33, 114.70°)
OKLaboklab(57.77% -0.0697 0.1117)
OKLCHoklch(57.77% 0.132 122)
XYZxyz(14.8491, 20.0881, 3.9056)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8517 #2F1785
analogous
#856617 #6D8517 #368517
triadic
#6D8517 #176D85 #85176D
tetradic
#6D8517 #178566 #2F1785 #851736
square
#6D8517 #178566 #2F1785 #851736
split-complementary
#6D8517 #173685 #661785
monochromatic
#171D05 #42510E #6D8517 #98B920 #B9DD3A

Accessibility & contrast

On white

4.19
#6D8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#6D8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8517
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8517#FFFFFF#000000##000000
##6D85171.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#737E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6d8517;
/* rgb */ color: rgb(109, 133, 23);
/* oklch */ color: oklch(57.8% 0.132 122.0);
Tailwind
colors: {
  custom: {
    50: '#9aa85f',
    500: '#6d8517',
    950: '#000000',
  },
}
SCSS
$custom: #6d8517;
$custom-light: #9aa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8517",
  "rgb": {
    "r": 109,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 73.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57766,
    "c": 0.13163,
    "h": 122
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#6D8517
secondary
#593FB9
accent
#3BED62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8517

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

Preview Lab → · Contrast checker → · Palette generator →

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