#6C8D17#6C8D17

#6C8D17 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.142 H 125.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C8D17
RGBrgb(108, 141, 23)
HSLhsl(77, 72%, 32%)
HSVhsv(77, 84%, 55%)
CMYKcmyk(23.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.34, -27.91, 53.29)
CIE-LCHlch(54.34, 60.15, 117.65°)
OKLaboklab(59.7% -0.0815 0.1162)
OKLCHoklch(59.7% 0.142 125)
XYZxyz(15.8640, 22.2996, 4.2789)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D17 #38178D
analogous
#8D7317 #6C8D17 #318D17
triadic
#6C8D17 #176C8D #8D176C
tetradic
#6C8D17 #178D73 #38178D #8D1731
square
#6C8D17 #178D73 #38178D #8D1731
split-complementary
#6C8D17 #17318D #73178D
monochromatic
#1B2406 #44580E #6C8D17 #94C220 #B3E03F

Accessibility & contrast

On white

3.85
#6C8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6C8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D17
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D17#FFFFFF#000000##000000
##6C8D171.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8d17;
/* rgb */ color: rgb(108, 141, 23);
/* oklch */ color: oklch(59.7% 0.142 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aae61',
    500: '#6c8d17',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d17;
$custom-light: #9aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d17",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 76.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.14195,
    "h": 125
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#6C8D17
secondary
#6440C0
accent
#39EF6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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