#6C8E20#6C8E20

#6C8E20 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.139 H 125.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6C8E20
RGBrgb(108, 142, 32)
HSLhsl(79, 63%, 34%)
HSVhsv(79, 77%, 56%)
CMYKcmyk(23.9%, 0%, 77.5%, 44.3%)
CIE-LABlab(54.70, -27.98, 50.82)
CIE-LCHlch(54.70, 58.01, 118.83°)
OKLaboklab(60% -0.081 0.1125)
OKLCHoklch(60% 0.139 125.7)
XYZxyz(16.1182, 22.6382, 4.8867)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E20 #42208E
analogous
#8E7920 #6C8E20 #358E20
triadic
#6C8E20 #206C8E #8E206C
tetradic
#6C8E20 #208E79 #42208E #8E2035
square
#6C8E20 #208E79 #42208E #8E2035
split-complementary
#6C8E20 #20358E #79208E
monochromatic
#202A09 #465C15 #6C8E20 #92C02B #AED851

Accessibility & contrast

On white

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

On black

5.53
#6C8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E20
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E20#FFFFFF#000000##000000
##6C8E201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e20;
/* rgb */ color: rgb(108, 142, 32);
/* oklch */ color: oklch(60.0% 0.139 125.7);
Tailwind
colors: {
  custom: {
    50: '#9aaf65',
    500: '#6c8e20',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e20;
$custom-light: #9aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e20",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 78.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.13866,
    "h": 125.7
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#6C8E20
secondary
#704FBB
accent
#42E674
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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