#6C8C2D#6C8C2D

#6C8C2D is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.6% C 0.127 H 126.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6C8C2D
RGBrgb(108, 140, 45)
HSLhsl(80, 51%, 36%)
HSVhsv(80, 68%, 55%)
CMYKcmyk(22.9%, 0%, 67.9%, 45.1%)
CIE-LABlab(54.17, -26.17, 45.26)
CIE-LCHlch(54.17, 52.28, 120.03°)
OKLaboklab(59.6% -0.0749 0.1029)
OKLCHoklch(59.6% 0.127 126)
XYZxyz(16.0361, 22.1335, 5.9095)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C2D #4D2D8C
analogous
#8C7D2D #6C8C2D #3D8C2D
triadic
#6C8C2D #2D6C8C #8C2D6C
tetradic
#6C8C2D #2D8C7D #4D2D8C #8C2D3D
square
#6C8C2D #2D8C7D #4D2D8C #8C2D3D
split-complementary
#6C8C2D #2D3D8C #7D2D8C
monochromatic
#252F0F #485E1E #6C8C2D #90BA3C #ABCE66

Accessibility & contrast

On white

3.87
#6C8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6C8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8C2D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8C2D#FFFFFF#000000##000000
##6C8C2D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#708579
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8c2d;
/* rgb */ color: rgb(108, 140, 45);
/* oklch */ color: oklch(59.6% 0.127 126.0);
Tailwind
colors: {
  custom: {
    50: '#99ad6b',
    500: '#6c8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c2d;
$custom-light: #99ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c2d",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 80.211,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.1273,
    "h": 126
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#6C8C2D
secondary
#7D60B4
accent
#4DDB7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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