#6C8F17#6C8F17

#6C8F17 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.144 H 125.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6C8F17
RGBrgb(108, 143, 23)
HSLhsl(78, 72%, 33%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(24.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.96, -28.87, 53.83)
CIE-LCHlch(54.96, 61.09, 118.21°)
OKLaboklab(60.2% -0.0841 0.1174)
OKLCHoklch(60.2% 0.144 125.6)
XYZxyz(16.1616, 22.8947, 4.3781)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F17 #3A178F
analogous
#8F7617 #6C8F17 #308F17
triadic
#6C8F17 #176C8F #8F176C
tetradic
#6C8F17 #178F76 #3A178F #8F1730
square
#6C8F17 #178F76 #3A178F #8F1730
split-complementary
#6C8F17 #17308F #76178F
monochromatic
#1C2606 #445A0F #6C8F17 #94C41F #B2E040

Accessibility & contrast

On white

3.76
#6C8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6C8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F17
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F17#FFFFFF#000000##000000
##6C8F171.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f17;
/* rgb */ color: rgb(108, 143, 23);
/* oklch */ color: oklch(60.2% 0.144 125.6);
Tailwind
colors: {
  custom: {
    50: '#9ab061',
    500: '#6c8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f17;
$custom-light: #9ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f17",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 77.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.602,
    "c": 0.14441,
    "h": 125.6
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#6C8F17
secondary
#6641C1
accent
#39EF6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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