#6D8B17#6D8B17

#6D8B17 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.139 H 124.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6D8B17
RGBrgb(109, 139, 23)
HSLhsl(76, 72%, 32%)
HSVhsv(76, 83%, 55%)
CMYKcmyk(21.6%, 0%, 83.5%, 45.5%)
CIE-LABlab(53.79, -26.52, 52.82)
CIE-LCHlch(53.79, 59.10, 116.66°)
OKLaboklab(59.27% -0.0778 0.1152)
OKLCHoklch(59.27% 0.139 124)
XYZxyz(15.6941, 21.7782, 4.1872)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8B17 #35178B
analogous
#8B6F17 #6D8B17 #338B17
triadic
#6D8B17 #176D8B #8B176D
tetradic
#6D8B17 #178B6F #35178B #8B1733
square
#6D8B17 #178B6F #35178B #8B1733
split-complementary
#6D8B17 #17338B #6F178B
monochromatic
#1B2206 #44560E #6D8B17 #96C020 #B5DF3D

Accessibility & contrast

On white

3.92
#6D8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6D8B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8B17
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8B17#FFFFFF#000000##000000
##6D8B171.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#738476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6d8b17;
/* rgb */ color: rgb(109, 139, 23);
/* oklch */ color: oklch(59.3% 0.139 124.0);
Tailwind
colors: {
  custom: {
    50: '#9bad60',
    500: '#6d8b17',
    950: '#000000',
  },
}
SCSS
$custom: #6d8b17;
$custom-light: #9bad60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8b17",
  "rgb": {
    "r": 109,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 75.517,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.13899,
    "h": 124
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#6D8B17
secondary
#603FBF
accent
#39EE68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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