#6C8B20#6C8B20

#6C8B20 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.135 H 124.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C8B20
RGBrgb(108, 139, 32)
HSLhsl(77, 63%, 34%)
HSVhsv(77, 77%, 55%)
CMYKcmyk(22.3%, 0%, 77%, 45.5%)
CIE-LABlab(53.77, -26.52, 49.94)
CIE-LCHlch(53.77, 56.54, 117.97°)
OKLaboklab(59.25% -0.077 0.1107)
OKLCHoklch(59.25% 0.135 124.8)
XYZxyz(15.6778, 21.7575, 4.7399)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B20 #3F208B
analogous
#8B7420 #6C8B20 #368B20
triadic
#6C8B20 #206C8B #8B206C
tetradic
#6C8B20 #208B74 #3F208B #8B2036
square
#6C8B20 #208B74 #3F208B #8B2036
split-complementary
#6C8B20 #20368B #74208B
monochromatic
#1F2809 #455915 #6C8B20 #93BD2B #AFD64F

Accessibility & contrast

On white

3.92
#6C8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6C8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B20
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B20#FFFFFF#000000##000000
##6C8B201.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8b20;
/* rgb */ color: rgb(108, 139, 32);
/* oklch */ color: oklch(59.2% 0.135 124.8);
Tailwind
colors: {
  custom: {
    50: '#99ad64',
    500: '#6c8b20',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b20;
$custom-light: #99ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b20",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 77.383,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.13484,
    "h": 124.8
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#6C8B20
secondary
#6D4DBA
accent
#42E672
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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