#6C822A#6C822A

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

Color values

HEX#6C822A
RGBrgb(108, 130, 42)
HSLhsl(75, 51%, 34%)
HSVhsv(75, 68%, 51%)
CMYKcmyk(16.9%, 0%, 67.7%, 49%)
CIE-LABlab(51.06, -21.37, 43.29)
CIE-LCHlch(51.06, 48.27, 116.27°)
OKLaboklab(57.08% -0.0619 0.0983)
OKLCHoklch(57.08% 0.116 122.2)
XYZxyz(14.5851, 19.3205, 5.1509)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C822A #402A82
analogous
#826C2A #6C822A #40822A
triadic
#6C822A #2A6C82 #822A6C
tetradic
#6C822A #2A826C #402A82 #822A40
square
#6C822A #2A826C #402A82 #822A40
split-complementary
#6C822A #2A4082 #6C2A82
monochromatic
#1F250C #46541B #6C822A #92B039 #AFCA5C

Accessibility & contrast

On white

4.32
#6C822A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6C822A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C822A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C822A#FFFFFF#000000##000000
##6C822A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#727B70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c822a;
/* rgb */ color: rgb(108, 130, 42);
/* oklch */ color: oklch(57.1% 0.116 122.2);
Tailwind
colors: {
  custom: {
    50: '#99a668',
    500: '#6c822a',
    950: '#000000',
  },
}
SCSS
$custom: #6c822a;
$custom-light: #99a668;
$custom-dark: #000000;
JSON
{
  "hex": "#6c822a",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 75,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.11622,
    "h": 122.2
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#6C822A
secondary
#6E58B0
accent
#4DDB71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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