#6C8E2A#6C8E2A

#6C8E2A is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.132 H 126.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6C8E2A
RGBrgb(108, 142, 42)
HSLhsl(80, 54%, 36%)
HSVhsv(80, 70%, 56%)
CMYKcmyk(23.9%, 0%, 70.4%, 44.3%)
CIE-LABlab(54.76, -27.36, 47.13)
CIE-LCHlch(54.76, 54.49, 120.14°)
OKLaboklab(60.07% -0.0785 0.1064)
OKLCHoklch(60.07% 0.132 126.4)
XYZxyz(16.2753, 22.7011, 5.7143)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E2A #4C2A8E
analogous
#8E7E2A #6C8E2A #3A8E2A
triadic
#6C8E2A #2A6C8E #8E2A6C
tetradic
#6C8E2A #2A8E7E #4C2A8E #8E2A3A
square
#6C8E2A #2A8E7E #4C2A8E #8E2A3A
split-complementary
#6C8E2A #2A3A8E #7E2A8E
monochromatic
#24300E #485F1C #6C8E2A #90BD38 #ABD162

Accessibility & contrast

On white

3.79
#6C8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6C8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E2A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E2A#FFFFFF#000000##000000
##6C8E2A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96841B
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#70877A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e2a;
/* rgb */ color: rgb(108, 142, 42);
/* oklch */ color: oklch(60.1% 0.132 126.4);
Tailwind
colors: {
  custom: {
    50: '#99af6a',
    500: '#6c8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e2a;
$custom-light: #99af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e2a",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 80.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.13221,
    "h": 126.4
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#6C8E2A
secondary
#7C5DB6
accent
#4ADE7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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