#6D971F#6D971F

#6D971F is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.3% C 0.150 H 127.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6D971F
RGBrgb(109, 151, 31)
HSLhsl(81, 66%, 36%)
HSVhsv(81, 79%, 59%)
CMYKcmyk(27.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.54, -31.90, 53.84)
CIE-LCHlch(57.54, 62.58, 120.64°)
OKLaboklab(62.32% -0.0918 0.1187)
OKLCHoklch(62.32% 0.15 127.7)
XYZxyz(17.6206, 25.4830, 5.2864)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D971F #491F97
analogous
#97851F #6D971F #31971F
triadic
#6D971F #1F6D97 #971F6D
tetradic
#6D971F #1F9785 #491F97 #971F31
square
#6D971F #1F9785 #491F97 #971F31
split-complementary
#6D971F #1F3197 #851F97
monochromatic
#24310A #486415 #6D971F #92CA29 #ADDC54

Accessibility & contrast

On white

3.44
#6D971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#6D971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D971F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D971F#FFFFFF#000000##000000
##6D971F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d971f;
/* rgb */ color: rgb(109, 151, 31);
/* oklch */ color: oklch(62.3% 0.150 127.7);
Tailwind
colors: {
  custom: {
    50: '#9bb565',
    500: '#6d971f',
    950: '#000000',
  },
}
SCSS
$custom: #6d971f;
$custom-light: #9bb565;
$custom-dark: #000000;
JSON
{
  "hex": "#6d971f",
  "rgb": {
    "r": 109,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 81,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62322,
    "c": 0.15005,
    "h": 127.7
  },
  "luminance": 0.25483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D971F

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

Preview Lab → · Contrast checker → · Palette generator →

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