#6C8A20#6C8A20

#6C8A20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.134 H 124.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C8A20
RGBrgb(108, 138, 32)
HSLhsl(77, 62%, 33%)
HSVhsv(77, 77%, 54%)
CMYKcmyk(21.7%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.46, -26.02, 49.64)
CIE-LCHlch(53.46, 56.05, 117.67°)
OKLaboklab(59% -0.0757 0.1101)
OKLCHoklch(59% 0.134 124.5)
XYZxyz(15.5337, 21.4692, 4.6918)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A20 #3E208A
analogous
#8A7320 #6C8A20 #378A20
triadic
#6C8A20 #206C8A #8A206C
tetradic
#6C8A20 #208A73 #3E208A #8A2037
square
#6C8A20 #208A73 #3E208A #8A2037
split-complementary
#6C8A20 #20378A #73208A
monochromatic
#1E2709 #455814 #6C8A20 #93BC2C #B0D64E

Accessibility & contrast

On white

3.97
#6C8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6C8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A20#FFFFFF#000000##000000
##6C8A201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a20;
/* rgb */ color: rgb(108, 138, 32);
/* oklch */ color: oklch(59.0% 0.134 124.5);
Tailwind
colors: {
  custom: {
    50: '#99ac64',
    500: '#6c8a20',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a20;
$custom-light: #99ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a20",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 76.981,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.13356,
    "h": 124.5
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#6C8A20
secondary
#6B4DB9
accent
#42E571
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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