#6C8F20#6C8F20

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

Color values

HEX#6C8F20
RGBrgb(108, 143, 32)
HSLhsl(79, 63%, 34%)
HSVhsv(79, 78%, 56%)
CMYKcmyk(24.5%, 0%, 77.6%, 43.9%)
CIE-LABlab(55.01, -28.46, 51.11)
CIE-LCHlch(55.01, 58.50, 119.11°)
OKLaboklab(60.25% -0.0823 0.1132)
OKLCHoklch(60.25% 0.14 126)
XYZxyz(16.2676, 22.9371, 4.9365)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F20 #43208F
analogous
#8F7B20 #6C8F20 #358F20
triadic
#6C8F20 #206C8F #8F206C
tetradic
#6C8F20 #208F7B #43208F #8F2035
square
#6C8F20 #208F7B #43208F #8F2035
split-complementary
#6C8F20 #20358F #7B208F
monochromatic
#202B0A #465D15 #6C8F20 #92C12B #AED851

Accessibility & contrast

On white

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

On black

5.59
#6C8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F20
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F20#FFFFFF#000000##000000
##6C8F201.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978505
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f20;
/* rgb */ color: rgb(108, 143, 32);
/* oklch */ color: oklch(60.2% 0.140 126.0);
Tailwind
colors: {
  custom: {
    50: '#9ab065',
    500: '#6c8f20',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f20;
$custom-light: #9ab065;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f20",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 78.919,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.13993,
    "h": 126
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#6C8F20
secondary
#714FBB
accent
#41E675
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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