#6C8122#6C8122

#6C8122 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.121 H 121.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6C8122
RGBrgb(108, 129, 34)
HSLhsl(73, 58%, 32%)
HSVhsv(73, 74%, 51%)
CMYKcmyk(16.3%, 0%, 73.6%, 49.4%)
CIE-LABlab(50.69, -21.39, 46.22)
CIE-LCHlch(50.69, 50.93, 114.83°)
OKLaboklab(56.76% -0.0628 0.1032)
OKLCHoklch(56.76% 0.121 121.3)
XYZxyz(14.3236, 19.0042, 4.4266)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8122 #372281
analogous
#816722 #6C8122 #3D8122
triadic
#6C8122 #226C81 #81226C
tetradic
#6C8122 #228167 #372281 #81223D
square
#6C8122 #228167 #372281 #81223D
split-complementary
#6C8122 #223D81 #672281
monochromatic
#1B2008 #435115 #6C8122 #95B12F #B3D04D

Accessibility & contrast

On white

4.37
#6C8122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6C8122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8122
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8122#FFFFFF#000000##000000
##6C81221.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8122;
/* rgb */ color: rgb(108, 129, 34);
/* oklch */ color: oklch(56.8% 0.121 121.3);
Tailwind
colors: {
  custom: {
    50: '#99a564',
    500: '#6c8122',
    950: '#000000',
  },
}
SCSS
$custom: #6c8122;
$custom-light: #99a564;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8122",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 73.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.1208,
    "h": 121.3
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#6C8122
secondary
#624BB3
accent
#46E169
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8122

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

Preview Lab → · Contrast checker → · Palette generator →

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