#6C8222#6C8222

#6C8222 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.122 H 121.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6C8222
RGBrgb(108, 130, 34)
HSLhsl(74, 59%, 32%)
HSVhsv(74, 74%, 51%)
CMYKcmyk(16.9%, 0%, 73.8%, 49%)
CIE-LABlab(51.00, -21.90, 46.52)
CIE-LCHlch(51.00, 51.42, 115.21°)
OKLaboklab(57.01% -0.0642 0.1038)
OKLCHoklch(57.01% 0.122 121.7)
XYZxyz(14.4559, 19.2689, 4.4708)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8222 #382282
analogous
#826822 #6C8222 #3C8222
triadic
#6C8222 #226C82 #82226C
tetradic
#6C8222 #228268 #382282 #82223C
square
#6C8222 #228268 #382282 #82223C
split-complementary
#6C8222 #223C82 #682282
monochromatic
#1B2109 #445115 #6C8222 #94B32F #B3D14E

Accessibility & contrast

On white

4.33
#6C8222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6C8222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8222
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8222#FFFFFF#000000##000000
##6C82221.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8222;
/* rgb */ color: rgb(108, 130, 34);
/* oklch */ color: oklch(57.0% 0.122 121.7);
Tailwind
colors: {
  custom: {
    50: '#99a664',
    500: '#6c8222',
    950: '#000000',
  },
}
SCSS
$custom: #6c8222;
$custom-light: #99a664;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8222",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 73.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.12208,
    "h": 121.7
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#6C8222
secondary
#644CB4
accent
#46E26A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8222

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

Preview Lab → · Contrast checker → · Palette generator →

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