#6C8D22#6C8D22

#6C8D22 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.136 H 125.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D22
RGBrgb(108, 141, 34)
HSLhsl(79, 61%, 34%)
HSVhsv(79, 76%, 55%)
CMYKcmyk(23.4%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.40, -27.38, 49.83)
CIE-LCHlch(54.40, 56.86, 118.79°)
OKLaboklab(59.76% -0.0792 0.1108)
OKLCHoklch(59.76% 0.136 125.6)
XYZxyz(15.9981, 22.3532, 4.9848)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D22 #43228D
analogous
#8D7922 #6C8D22 #368D22
triadic
#6C8D22 #226C8D #8D226C
tetradic
#6C8D22 #228D79 #43228D #8D2236
square
#6C8D22 #228D79 #43228D #8D2236
split-complementary
#6C8D22 #22368D #79228D
monochromatic
#202A0A #465C16 #6C8D22 #92BE2E #AED654

Accessibility & contrast

On white

3.84
#6C8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D22
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D22#FFFFFF#000000##000000
##6C8D221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d22;
/* rgb */ color: rgb(108, 141, 34);
/* oklch */ color: oklch(59.8% 0.136 125.6);
Tailwind
colors: {
  custom: {
    50: '#99ae65',
    500: '#6c8d22',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d22;
$custom-light: #99ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d22",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 78.505,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.13621,
    "h": 125.6
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#6C8D22
secondary
#7151B9
accent
#44E475
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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