#6C8A45#6C8A45

#6C8A45 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.4% C 0.102 H 128.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C8A45
RGBrgb(108, 138, 69)
HSLhsl(86, 33%, 41%)
HSVhsv(86, 50%, 54%)
CMYKcmyk(21.7%, 0%, 50%, 45.9%)
CIE-LABlab(53.81, -22.84, 33.32)
CIE-LCHlch(53.81, 40.40, 124.43°)
OKLaboklab(59.39% -0.0635 0.0799)
OKLCHoklch(59.39% 0.102 128.5)
XYZxyz(16.3469, 21.7945, 8.9746)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A45 #63458A
analogous
#8A8545 #6C8A45 #498A45
triadic
#6C8A45 #456C8A #8A456C
tetradic
#6C8A45 #458A85 #63458A #8A4549
square
#6C8A45 #458A85 #63458A #8A4549
split-complementary
#6C8A45 #45498A #85458A
monochromatic
#2C381C #4C6131 #6C8A45 #8BAE5E #A9C387

Accessibility & contrast

On white

3.92
#6C8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6C8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A45
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A45#FFFFFF#000000##000000
##6C8A451.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#8C8049
Tritanopia (blue-blind)
#6F857A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8a45;
/* rgb */ color: rgb(108, 138, 69);
/* oklch */ color: oklch(59.4% 0.102 128.5);
Tailwind
colors: {
  custom: {
    50: '#98ac7a',
    500: '#6c8a45',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a45;
$custom-light: #98ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a45",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 86.087,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.10204,
    "h": 128.5
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#6C8A45
secondary
#927DAE
accent
#5EC98D
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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