#6C8D2A#6C8D2A

#6C8D2A is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.131 H 126.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6C8D2A
RGBrgb(108, 141, 42)
HSLhsl(80, 54%, 36%)
HSVhsv(80, 70%, 55%)
CMYKcmyk(23.4%, 0%, 70.2%, 44.7%)
CIE-LABlab(54.45, -26.87, 46.81)
CIE-LCHlch(54.45, 53.97, 119.86°)
OKLaboklab(59.82% -0.0771 0.1057)
OKLCHoklch(59.82% 0.131 126.1)
XYZxyz(16.1272, 22.4048, 5.6650)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D2A #4B2A8D
analogous
#8D7C2A #6C8D2A #3A8D2A
triadic
#6C8D2A #2A6C8D #8D2A6C
tetradic
#6C8D2A #2A8D7C #4B2A8D #8D2A3A
square
#6C8D2A #2A8D7C #4B2A8D #8D2A3A
split-complementary
#6C8D2A #2A3A8D #7C2A8D
monochromatic
#242F0E #485E1C #6C8D2A #90BC38 #ABD061

Accessibility & contrast

On white

3.83
#6C8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6C8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D2A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D2A#FFFFFF#000000##000000
##6C8D2A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d2a;
/* rgb */ color: rgb(108, 141, 42);
/* oklch */ color: oklch(59.8% 0.131 126.1);
Tailwind
colors: {
  custom: {
    50: '#99ae6a',
    500: '#6c8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d2a;
$custom-light: #99ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d2a",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59821,
    "c": 0.13088,
    "h": 126.1
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#6C8D2A
secondary
#7B5DB6
accent
#4ADD7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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