#6C842D#6C842D

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

Color values

HEX#6C842D
RGBrgb(108, 132, 45)
HSLhsl(77, 49%, 35%)
HSVhsv(77, 66%, 52%)
CMYKcmyk(18.2%, 0%, 65.9%, 48.2%)
CIE-LABlab(51.70, -22.16, 42.64)
CIE-LCHlch(51.70, 48.06, 117.46°)
OKLaboklab(57.6% -0.0638 0.0974)
OKLCHoklch(57.6% 0.116 123.2)
XYZxyz(14.9094, 19.8801, 5.5339)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C842D #452D84
analogous
#84712D #6C842D #40842D
triadic
#6C842D #2D6C84 #842D6C
tetradic
#6C842D #2D8471 #452D84 #842D40
square
#6C842D #2D8471 #452D84 #842D40
split-complementary
#6C842D #2D4084 #712D84
monochromatic
#21290E #47561D #6C842D #91B23D #ADC962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C842D#FFFFFF#000000##000000
##6C842D1.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)
#8C7C22
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#717E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c842d;
/* rgb */ color: rgb(108, 132, 45);
/* oklch */ color: oklch(57.6% 0.116 123.2);
Tailwind
colors: {
  custom: {
    50: '#98a76a',
    500: '#6c842d',
    950: '#000000',
  },
}
SCSS
$custom: #6c842d;
$custom-light: #98a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c842d",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 76.552,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.11647,
    "h": 123.2
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#6C842D
secondary
#745DB0
accent
#4FD975
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C842D

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

Preview Lab → · Contrast checker → · Palette generator →

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