#6C8B22#6C8B22

#6C8B22 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.134 H 124.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C8B22
RGBrgb(108, 139, 34)
HSLhsl(78, 61%, 34%)
HSVhsv(78, 76%, 55%)
CMYKcmyk(22.3%, 0%, 75.5%, 45.5%)
CIE-LABlab(53.78, -26.40, 49.23)
CIE-LCHlch(53.78, 55.87, 118.21°)
OKLaboklab(59.26% -0.0766 0.1095)
OKLCHoklch(59.26% 0.134 124.9)
XYZxyz(15.7058, 21.7687, 4.8874)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B22 #41228B
analogous
#8B7622 #6C8B22 #388B22
triadic
#6C8B22 #226C8B #8B226C
tetradic
#6C8B22 #228B76 #41228B #8B2238
square
#6C8B22 #228B76 #41228B #8B2238
split-complementary
#6C8B22 #22388B #76228B
monochromatic
#20290A #465A16 #6C8B22 #92BC2E #AED553

Accessibility & contrast

On white

3.92
#6C8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6C8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B22
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B22#FFFFFF#000000##000000
##6C8B221.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8b22;
/* rgb */ color: rgb(108, 139, 34);
/* oklch */ color: oklch(59.3% 0.134 124.9);
Tailwind
colors: {
  custom: {
    50: '#99ad65',
    500: '#6c8b22',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b22;
$custom-light: #99ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b22",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 77.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.13364,
    "h": 124.9
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#6C8B22
secondary
#6F50B8
accent
#44E473
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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