#6C971F#6C971F

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

Color values

HEX#6C971F
RGBrgb(108, 151, 31)
HSLhsl(82, 66%, 36%)
HSVhsv(82, 79%, 59%)
CMYKcmyk(28.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.48, -32.29, 53.76)
CIE-LCHlch(57.48, 62.71, 121.00°)
OKLaboklab(62.26% -0.0928 0.1186)
OKLCHoklch(62.26% 0.151 128.1)
XYZxyz(17.4983, 25.4199, 5.2807)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C971F #4A1F97
analogous
#97861F #6C971F #30971F
triadic
#6C971F #1F6C97 #971F6C
tetradic
#6C971F #1F9786 #4A1F97 #971F30
square
#6C971F #1F9786 #4A1F97 #971F30
split-complementary
#6C971F #1F3097 #861F97
monochromatic
#23310A #486415 #6C971F #90CA29 #ABDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C971F#FFFFFF#000000##000000
##6C971F1.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)
#99892C
Tritanopia (blue-blind)
#709081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c971f;
/* rgb */ color: rgb(108, 151, 31);
/* oklch */ color: oklch(62.3% 0.151 128.1);
Tailwind
colors: {
  custom: {
    50: '#9ab665',
    500: '#6c971f',
    950: '#000000',
  },
}
SCSS
$custom: #6c971f;
$custom-light: #9ab665;
$custom-dark: #000000;
JSON
{
  "hex": "#6c971f",
  "rgb": {
    "r": 108,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 81.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.15058,
    "h": 128.1
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#6C971F
secondary
#7952BF
accent
#3FE97C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C971F

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

Preview Lab → · Contrast checker → · Palette generator →

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