#6C9221#6C9221

#6C9221 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.0% C 0.143 H 126.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6C9221
RGBrgb(108, 146, 33)
HSLhsl(80, 63%, 35%)
HSVhsv(80, 77%, 57%)
CMYKcmyk(26%, 0%, 77.4%, 42.7%)
CIE-LABlab(55.94, -29.84, 51.66)
CIE-LCHlch(55.94, 59.66, 120.01°)
OKLaboklab(61.01% -0.086 0.1145)
OKLCHoklch(61.01% 0.143 126.9)
XYZxyz(16.7378, 23.8554, 5.1613)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9221 #472192
analogous
#927F21 #6C9221 #349221
triadic
#6C9221 #216C92 #92216C
tetradic
#6C9221 #21927F #472192 #922134
square
#6C9221 #21927F #472192 #922134
split-complementary
#6C9221 #213492 #7F2192
monochromatic
#222E0A #476016 #6C9221 #91C42C #ACD955

Accessibility & contrast

On white

3.64
#6C9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#6C9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9221
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9221#FFFFFF#000000##000000
##6C92211.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8805
Deuteranopia (green-blind)
#95852C
Tritanopia (blue-blind)
#708B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6c9221;
/* rgb */ color: rgb(108, 146, 33);
/* oklch */ color: oklch(61.0% 0.143 126.9);
Tailwind
colors: {
  custom: {
    50: '#9ab266',
    500: '#6c9221',
    950: '#000000',
  },
}
SCSS
$custom: #6c9221;
$custom-light: #9ab266;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9221",
  "rgb": {
    "r": 108,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 80.177,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.14318,
    "h": 126.9
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#6C9221
secondary
#7653BC
accent
#42E679
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9221

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

Preview Lab → · Contrast checker → · Palette generator →

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