#6C822C#6C822C

#6C822C is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.115 H 122.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6C822C
RGBrgb(108, 130, 44)
HSLhsl(75, 49%, 34%)
HSVhsv(75, 66%, 51%)
CMYKcmyk(16.9%, 0%, 66.2%, 49%)
CIE-LABlab(51.08, -21.21, 42.42)
CIE-LCHlch(51.08, 47.43, 116.57°)
OKLaboklab(57.1% -0.0613 0.0968)
OKLCHoklch(57.1% 0.115 122.3)
XYZxyz(14.6218, 19.3352, 5.3441)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C822C #422C82
analogous
#826D2C #6C822C #41822C
triadic
#6C822C #2C6C82 #822C6C
tetradic
#6C822C #2C826D #422C82 #822C41
square
#6C822C #2C826D #422C82 #822C41
split-complementary
#6C822C #2C4182 #6D2C82
monochromatic
#20270D #46541D #6C822C #92B03B #AEC95F

Accessibility & contrast

On white

4.31
#6C822C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6C822C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C822C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C822C#FFFFFF#000000##000000
##6C822C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A21
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#717B70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c822c;
/* rgb */ color: rgb(108, 130, 44);
/* oklch */ color: oklch(57.1% 0.115 122.3);
Tailwind
colors: {
  custom: {
    50: '#98a66a',
    500: '#6c822c',
    950: '#000000',
  },
}
SCSS
$custom: #6c822c;
$custom-light: #98a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c822c",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 75.349,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.1146,
    "h": 122.3
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#6C822C
secondary
#705BAF
accent
#4FD972
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C822C

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

Preview Lab → · Contrast checker → · Palette generator →

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