#6C971C#6C971C

#6C971C is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.2% C 0.152 H 127.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6C971C
RGBrgb(108, 151, 28)
HSLhsl(81, 69%, 35%)
HSVhsv(81, 81%, 59%)
CMYKcmyk(28.5%, 0%, 81.5%, 40.8%)
CIE-LABlab(57.47, -32.44, 54.66)
CIE-LCHlch(57.47, 63.56, 120.69°)
OKLaboklab(62.24% -0.0934 0.12)
OKLCHoklch(62.24% 0.152 127.9)
XYZxyz(17.4606, 25.4048, 5.0821)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C971C #471C97
analogous
#97851C #6C971C #2E971C
triadic
#6C971C #1C6C97 #971C6C
tetradic
#6C971C #1C9785 #471C97 #971C2E
square
#6C971C #1C9785 #471C97 #971C2E
split-complementary
#6C971C #1C2E97 #851C97
monochromatic
#223009 #476312 #6C971C #91CB26 #ACDE4F

Accessibility & contrast

On white

3.45
#6C971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#6C971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C971C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C971C#FFFFFF#000000##000000
##6C971C1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#709081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c971c;
/* rgb */ color: rgb(108, 151, 28);
/* oklch */ color: oklch(62.2% 0.152 127.9);
Tailwind
colors: {
  custom: {
    50: '#9ab664',
    500: '#6c971c',
    950: '#000000',
  },
}
SCSS
$custom: #6c971c;
$custom-light: #9ab664;
$custom-dark: #000000;
JSON
{
  "hex": "#6c971c",
  "rgb": {
    "r": 108,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 80.976,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.15205,
    "h": 127.9
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

primary
#6C971C
secondary
#764EC1
accent
#3CEC7A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C971C

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

Preview Lab → · Contrast checker → · Palette generator →

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