#6C8C2F#6C8C2F

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

Color values

HEX#6C8C2F
RGBrgb(108, 140, 47)
HSLhsl(81, 50%, 37%)
HSVhsv(81, 66%, 55%)
CMYKcmyk(22.9%, 0%, 66.4%, 45.1%)
CIE-LABlab(54.19, -26.01, 44.41)
CIE-LCHlch(54.19, 51.47, 120.36°)
OKLaboklab(59.62% -0.0743 0.1014)
OKLCHoklch(59.62% 0.126 126.2)
XYZxyz(16.0756, 22.1493, 6.1171)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C2F #4F2F8C
analogous
#8C7E2F #6C8C2F #3E8C2F
triadic
#6C8C2F #2F6C8C #8C2F6C
tetradic
#6C8C2F #2F8C7E #4F2F8C #8C2F3E
square
#6C8C2F #2F8C7E #4F2F8C #8C2F3E
split-complementary
#6C8C2F #2F3E8C #7E2F8C
monochromatic
#253010 #495E20 #6C8C2F #8FBA3E #AACD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8C2F#FFFFFF#000000##000000
##6C8C2F1.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)
#938323
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#708679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8c2f;
/* rgb */ color: rgb(108, 140, 47);
/* oklch */ color: oklch(59.6% 0.126 126.2);
Tailwind
colors: {
  custom: {
    50: '#99ad6c',
    500: '#6c8c2f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c2f;
$custom-light: #99ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c2f",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 80.645,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.12573,
    "h": 126.2
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#6C8C2F
secondary
#7F63B4
accent
#4FD97E
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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