#6C822B#6C822B

#6C822B 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#6C822B
RGBrgb(108, 130, 43)
HSLhsl(75, 50%, 34%)
HSVhsv(75, 67%, 51%)
CMYKcmyk(16.9%, 0%, 66.9%, 49%)
CIE-LABlab(51.07, -21.29, 42.86)
CIE-LCHlch(51.07, 47.86, 116.42°)
OKLaboklab(57.09% -0.0616 0.0976)
OKLCHoklch(57.09% 0.115 122.3)
XYZxyz(14.6032, 19.3278, 5.2463)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C822B #412B82
analogous
#826D2B #6C822B #41822B
triadic
#6C822B #2B6C82 #822B6C
tetradic
#6C822B #2B826D #412B82 #822B41
square
#6C822B #2B826D #412B82 #822B41
split-complementary
#6C822B #2B4182 #6D2B82
monochromatic
#20260D #46541C #6C822B #92B03A #AECA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C822B#FFFFFF#000000##000000
##6C822B1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c822b;
/* rgb */ color: rgb(108, 130, 43);
/* oklch */ color: oklch(57.1% 0.115 122.3);
Tailwind
colors: {
  custom: {
    50: '#98a669',
    500: '#6c822b',
    950: '#000000',
  },
}
SCSS
$custom: #6c822b;
$custom-light: #98a669;
$custom-dark: #000000;
JSON
{
  "hex": "#6c822b",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 75.172,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.11542,
    "h": 122.3
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#6C822B
secondary
#6F59B0
accent
#4EDA71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C822B

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

Preview Lab → · Contrast checker → · Palette generator →

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