#6C8A32#6C8A32

#6C8A32 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.120 H 125.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C8A32
RGBrgb(108, 138, 50)
HSLhsl(80, 47%, 37%)
HSVhsv(80, 64%, 54%)
CMYKcmyk(21.7%, 0%, 63.8%, 45.9%)
CIE-LABlab(53.59, -24.77, 42.43)
CIE-LCHlch(53.59, 49.13, 120.28°)
OKLaboklab(59.15% -0.0706 0.0977)
OKLCHoklch(59.15% 0.12 125.9)
XYZxyz(15.8486, 21.5952, 6.3503)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A32 #50328A
analogous
#8A7C32 #6C8A32 #408A32
triadic
#6C8A32 #326C8A #8A326C
tetradic
#6C8A32 #328A7C #50328A #8A3240
square
#6C8A32 #328A7C #50328A #8A3240
split-complementary
#6C8A32 #32408A #7C328A
monochromatic
#263011 #495D22 #6C8A32 #8FB742 #AACA6C

Accessibility & contrast

On white

3.95
#6C8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6C8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A32
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A32#FFFFFF#000000##000000
##6C8A321.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#708477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a32;
/* rgb */ color: rgb(108, 138, 50);
/* oklch */ color: oklch(59.1% 0.120 125.9);
Tailwind
colors: {
  custom: {
    50: '#98ac6e',
    500: '#6c8a32',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a32;
$custom-light: #98ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a32",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 80.455,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.12049,
    "h": 125.9
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#6C8A32
secondary
#8066B2
accent
#51D67F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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