#6C9222#6C9222

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

Color values

HEX#6C9222
RGBrgb(108, 146, 34)
HSLhsl(80, 62%, 35%)
HSVhsv(80, 77%, 57%)
CMYKcmyk(26%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.95, -29.79, 51.32)
CIE-LCHlch(55.95, 59.34, 120.13°)
OKLaboklab(61.02% -0.0858 0.1139)
OKLCHoklch(61.02% 0.143 127)
XYZxyz(16.7520, 23.8611, 5.2361)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9222 #482292
analogous
#928022 #6C9222 #349222
triadic
#6C9222 #226C92 #92226C
tetradic
#6C9222 #229280 #482292 #922234
square
#6C9222 #229280 #482292 #922234
split-complementary
#6C9222 #223492 #802292
monochromatic
#232F0B #476016 #6C9222 #91C42E #ACD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C9222#FFFFFF#000000##000000
##6C92221.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)
#9A8808
Deuteranopia (green-blind)
#95852D
Tritanopia (blue-blind)
#708B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6c9222;
/* rgb */ color: rgb(108, 146, 34);
/* oklch */ color: oklch(61.0% 0.143 127.0);
Tailwind
colors: {
  custom: {
    50: '#9ab266',
    500: '#6c9222',
    950: '#000000',
  },
}
SCSS
$custom: #6c9222;
$custom-light: #9ab266;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9222",
  "rgb": {
    "r": 108,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 80.357,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.14261,
    "h": 127
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

primary
#6C9222
secondary
#7754BC
accent
#43E57A
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9222

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

Preview Lab → · Contrast checker → · Palette generator →

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