#6C8E17#6C8E17

#6C8E17 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.143 H 125.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8E17
RGBrgb(108, 142, 23)
HSLhsl(77, 72%, 32%)
HSVhsv(77, 84%, 56%)
CMYKcmyk(23.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.65, -28.39, 53.56)
CIE-LCHlch(54.65, 60.62, 117.93°)
OKLaboklab(59.95% -0.0828 0.1168)
OKLCHoklch(59.95% 0.143 125.3)
XYZxyz(16.0121, 22.5958, 4.3283)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E17 #39178E
analogous
#8E7517 #6C8E17 #308E17
triadic
#6C8E17 #176C8E #8E176C
tetradic
#6C8E17 #178E75 #39178E #8E1730
square
#6C8E17 #178E75 #39178E #8E1730
split-complementary
#6C8E17 #17308E #75178E
monochromatic
#1C2506 #44590E #6C8E17 #94C320 #B2E03F

Accessibility & contrast

On white

3.80
#6C8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E17
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E17#FFFFFF#000000##000000
##6C8E171.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e17;
/* rgb */ color: rgb(108, 142, 23);
/* oklch */ color: oklch(59.9% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#9aaf61',
    500: '#6c8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e17;
$custom-light: #9aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e17",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 77.143,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.14318,
    "h": 125.3
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#6C8E17
secondary
#6540C0
accent
#39EF6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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