#6D8D17#6D8D17

#6D8D17 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.141 H 124.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6D8D17
RGBrgb(109, 141, 23)
HSLhsl(76, 72%, 32%)
HSVhsv(76, 84%, 55%)
CMYKcmyk(22.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.41, -27.49, 53.37)
CIE-LCHlch(54.41, 60.03, 117.25°)
OKLaboklab(59.77% -0.0804 0.1164)
OKLCHoklch(59.77% 0.141 124.6)
XYZxyz(15.9864, 22.3626, 4.2846)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D17 #37178D
analogous
#8D7217 #6D8D17 #328D17
triadic
#6D8D17 #176D8D #8D176D
tetradic
#6D8D17 #178D72 #37178D #8D1732
square
#6D8D17 #178D72 #37178D #8D1732
split-complementary
#6D8D17 #17328D #72178D
monochromatic
#1C2406 #44580E #6D8D17 #96C220 #B4E03F

Accessibility & contrast

On white

3.84
#6D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D17
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D17#FFFFFF#000000##000000
##6D8D171.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#738678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d17;
/* rgb */ color: rgb(109, 141, 23);
/* oklch */ color: oklch(59.8% 0.141 124.6);
Tailwind
colors: {
  custom: {
    50: '#9bae61',
    500: '#6d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d17;
$custom-light: #9bae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d17",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 76.271,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.14145,
    "h": 124.6
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#6D8D17
secondary
#6340C0
accent
#39EF6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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