#6C8D45#6C8D45

#6C8D45 is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.107 H 129.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6C8D45
RGBrgb(108, 141, 69)
HSLhsl(88, 34%, 41%)
HSVhsv(88, 51%, 55%)
CMYKcmyk(23.4%, 0%, 51.1%, 44.7%)
CIE-LABlab(54.73, -24.35, 34.44)
CIE-LCHlch(54.73, 42.18, 125.26°)
OKLaboklab(60.13% -0.0677 0.0823)
OKLCHoklch(60.13% 0.107 129.4)
XYZxyz(16.7832, 22.6672, 9.1201)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D45 #66458D
analogous
#8D8A45 #6C8D45 #488D45
triadic
#6C8D45 #456C8D #8D456C
tetradic
#6C8D45 #458D8A #66458D #8D4548
square
#6C8D45 #458D8A #66458D #8D4548
split-complementary
#6C8D45 #45488D #8A458D
monochromatic
#2D3B1D #4D6431 #6C8D45 #8BB15F #A9C588

Accessibility & contrast

On white

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

On black

5.53
#6C8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D45
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D45#FFFFFF#000000##000000
##6C8D451.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843F
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#6E887C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8d45;
/* rgb */ color: rgb(108, 141, 69);
/* oklch */ color: oklch(60.1% 0.107 129.4);
Tailwind
colors: {
  custom: {
    50: '#98ae7a',
    500: '#6c8d45',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d45;
$custom-light: #98ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d45",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 87.5,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.1066,
    "h": 129.4
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#6C8D45
secondary
#957EB0
accent
#5DCA8F
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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