#6C842E#6C842E

#6C842E is a mid, moderate yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.116 H 123.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6C842E
RGBrgb(108, 132, 46)
HSLhsl(77, 48%, 35%)
HSVhsv(77, 65%, 52%)
CMYKcmyk(18.2%, 0%, 65.2%, 48.2%)
CIE-LABlab(51.71, -22.08, 42.20)
CIE-LCHlch(51.71, 47.63, 117.62°)
OKLaboklab(57.61% -0.0635 0.0966)
OKLCHoklch(57.61% 0.116 123.3)
XYZxyz(14.9289, 19.8879, 5.6365)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C842E #462E84
analogous
#84712E #6C842E #41842E
triadic
#6C842E #2E6C84 #842E6C
tetradic
#6C842E #2E8471 #462E84 #842E41
square
#6C842E #2E8471 #462E84 #842E41
split-complementary
#6C842E #2E4184 #712E84
monochromatic
#22290E #47571E #6C842E #91B13E #ADC964

Accessibility & contrast

On white

4.22
#6C842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6C842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C842E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C842E#FFFFFF#000000##000000
##6C842E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C23
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#717E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c842e;
/* rgb */ color: rgb(108, 132, 46);
/* oklch */ color: oklch(57.6% 0.116 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a76b',
    500: '#6c842e',
    950: '#000000',
  },
}
SCSS
$custom: #6c842e;
$custom-light: #98a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c842e",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 76.744,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.11564,
    "h": 123.3
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#6C842E
secondary
#755EB0
accent
#50D876
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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