#6C8D20#6C8D20

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

Color values

HEX#6C8D20
RGBrgb(108, 141, 32)
HSLhsl(78, 63%, 34%)
HSVhsv(78, 77%, 55%)
CMYKcmyk(23.4%, 0%, 77.3%, 44.7%)
CIE-LABlab(54.39, -27.49, 50.52)
CIE-LCHlch(54.39, 57.52, 118.55°)
OKLaboklab(59.75% -0.0797 0.1119)
OKLCHoklch(59.75% 0.137 125.5)
XYZxyz(15.9700, 22.3420, 4.8373)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D20 #41208D
analogous
#8D7820 #6C8D20 #368D20
triadic
#6C8D20 #206C8D #8D206C
tetradic
#6C8D20 #208D78 #41208D #8D2036
square
#6C8D20 #208D78 #41208D #8D2036
split-complementary
#6C8D20 #20368D #78208D
monochromatic
#202909 #465B15 #6C8D20 #92BF2B #AED750

Accessibility & contrast

On white

3.84
#6C8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D20
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D20#FFFFFF#000000##000000
##6C8D201.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d20;
/* rgb */ color: rgb(108, 141, 32);
/* oklch */ color: oklch(59.7% 0.137 125.5);
Tailwind
colors: {
  custom: {
    50: '#9aae64',
    500: '#6c8d20',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d20;
$custom-light: #9aae64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d20",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 78.165,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.13738,
    "h": 125.5
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#6C8D20
secondary
#6F4EBA
accent
#42E673
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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