#6C8F22#6C8F22

#6C8F22 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.3% C 0.139 H 126.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6C8F22
RGBrgb(108, 143, 34)
HSLhsl(79, 62%, 35%)
HSVhsv(79, 76%, 56%)
CMYKcmyk(24.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(55.02, -28.35, 50.43)
CIE-LCHlch(55.02, 57.85, 119.34°)
OKLaboklab(60.26% -0.0819 0.1121)
OKLCHoklch(60.26% 0.139 126.2)
XYZxyz(16.2956, 22.9483, 5.0840)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F22 #45228F
analogous
#8F7C22 #6C8F22 #368F22
triadic
#6C8F22 #226C8F #8F226C
tetradic
#6C8F22 #228F7C #45228F #8F2236
square
#6C8F22 #228F7C #45228F #8F2236
split-complementary
#6C8F22 #22368F #7C228F
monochromatic
#212C0A #475E16 #6C8F22 #91C02E #ADD755

Accessibility & contrast

On white

3.76
#6C8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6C8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F22
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F22#FFFFFF#000000##000000
##6C8F221.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f22;
/* rgb */ color: rgb(108, 143, 34);
/* oklch */ color: oklch(60.3% 0.139 126.2);
Tailwind
colors: {
  custom: {
    50: '#9ab066',
    500: '#6c8f22',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f22;
$custom-light: #9ab066;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f22",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 79.266,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.13877,
    "h": 126.2
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#6C8F22
secondary
#7452BA
accent
#43E577
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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