#6C8221#6C8221

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

Color values

HEX#6C8221
RGBrgb(108, 130, 33)
HSLhsl(74, 60%, 32%)
HSVhsv(74, 75%, 51%)
CMYKcmyk(16.9%, 0%, 74.6%, 49%)
CIE-LABlab(50.99, -21.96, 46.90)
CIE-LCHlch(50.99, 51.78, 115.09°)
OKLaboklab(57% -0.0644 0.1045)
OKLCHoklch(57% 0.123 121.7)
XYZxyz(14.4417, 19.2632, 4.3959)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8221 #372182
analogous
#826821 #6C8221 #3C8221
triadic
#6C8221 #216C82 #82216C
tetradic
#6C8221 #218268 #372182 #82213C
square
#6C8221 #218268 #372182 #82213C
split-complementary
#6C8221 #213C82 #682182
monochromatic
#1B2008 #435115 #6C8221 #95B32D #B3D24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8221#FFFFFF#000000##000000
##6C82211.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)
#8A7A0F
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8221;
/* rgb */ color: rgb(108, 130, 33);
/* oklch */ color: oklch(57.0% 0.123 121.7);
Tailwind
colors: {
  custom: {
    50: '#99a664',
    500: '#6c8221',
    950: '#000000',
  },
}
SCSS
$custom: #6c8221;
$custom-light: #99a664;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8221",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 73.608,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.12274,
    "h": 121.7
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#6C8221
secondary
#624AB4
accent
#45E369
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8221

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

Preview Lab → · Contrast checker → · Palette generator →

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