#6C8E22#6C8E22

#6C8E22 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.137 H 125.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6C8E22
RGBrgb(108, 142, 34)
HSLhsl(79, 61%, 35%)
HSVhsv(79, 76%, 56%)
CMYKcmyk(23.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(54.71, -27.87, 50.13)
CIE-LCHlch(54.71, 57.35, 119.07°)
OKLaboklab(60.01% -0.0805 0.1114)
OKLCHoklch(60.01% 0.137 125.9)
XYZxyz(16.1462, 22.6494, 5.0342)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E22 #44228E
analogous
#8E7A22 #6C8E22 #368E22
triadic
#6C8E22 #226C8E #8E226C
tetradic
#6C8E22 #228E7A #44228E #8E2236
square
#6C8E22 #228E7A #44228E #8E2236
split-complementary
#6C8E22 #22368E #7A228E
monochromatic
#212B0A #465D16 #6C8E22 #92BF2E #ADD654

Accessibility & contrast

On white

3.80
#6C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E22
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E22#FFFFFF#000000##000000
##6C8E221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840B
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e22;
/* rgb */ color: rgb(108, 142, 34);
/* oklch */ color: oklch(60.0% 0.137 125.9);
Tailwind
colors: {
  custom: {
    50: '#99af66',
    500: '#6c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e22;
$custom-light: #99af66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e22",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 78.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.13749,
    "h": 125.9
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#6C8E22
secondary
#7352BA
accent
#43E476
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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