#6C8D38#6C8D38

#6C8D38 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.119 H 127.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6C8D38
RGBrgb(108, 141, 56)
HSLhsl(83, 43%, 39%)
HSVhsv(83, 60%, 55%)
CMYKcmyk(23.4%, 0%, 60.3%, 44.7%)
CIE-LABlab(54.58, -25.73, 40.72)
CIE-LCHlch(54.58, 48.17, 122.28°)
OKLaboklab(59.96% -0.0727 0.0948)
OKLCHoklch(59.96% 0.119 127.5)
XYZxyz(16.4230, 22.5231, 7.2228)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D38 #59388D
analogous
#8D8338 #6C8D38 #418D38
triadic
#6C8D38 #386C8D #8D386C
tetradic
#6C8D38 #388D83 #59388D #8D3841
square
#6C8D38 #388D83 #59388D #8D3841
split-complementary
#6C8D38 #38418D #83388D
monochromatic
#293515 #4A6127 #6C8D38 #8DB74B #A9C977

Accessibility & contrast

On white

3.81
#6C8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6C8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D38
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D38#FFFFFF#000000##000000
##6C8D381.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842F
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#70877B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8d38;
/* rgb */ color: rgb(108, 141, 56);
/* oklch */ color: oklch(60.0% 0.119 127.5);
Tailwind
colors: {
  custom: {
    50: '#98ae72',
    500: '#6c8d38',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d38;
$custom-light: #98ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d38",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 83.294,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.1194,
    "h": 127.5
  },
  "luminance": 0.22523
}

Semantic roles & 50–950 ramp

primary
#6C8D38
secondary
#896FB2
accent
#55D386
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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