#6F971F#6F971F

#6F971F is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.5% C 0.149 H 127.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6F971F
RGBrgb(111, 151, 31)
HSLhsl(80, 66%, 36%)
HSVhsv(80, 79%, 59%)
CMYKcmyk(26.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.67, -31.09, 53.99)
CIE-LCHlch(57.67, 62.31, 119.93°)
OKLaboklab(62.46% -0.0897 0.119)
OKLCHoklch(62.46% 0.149 127)
XYZxyz(17.8695, 25.6113, 5.2981)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F971F #471F97
analogous
#97831F #6F971F #33971F
triadic
#6F971F #1F6F97 #971F6F
tetradic
#6F971F #1F9783 #471F97 #971F33
square
#6F971F #1F9783 #471F97 #971F33
split-complementary
#6F971F #1F3397 #831F97
monochromatic
#24310A #4A6415 #6F971F #94CA29 #AFDC54

Accessibility & contrast

On white

3.43
#6F971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6F971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F971F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F971F#FFFFFF#000000##000000
##6F971F1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#749081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6f971f;
/* rgb */ color: rgb(111, 151, 31);
/* oklch */ color: oklch(62.5% 0.149 127.0);
Tailwind
colors: {
  custom: {
    50: '#9cb565',
    500: '#6f971f',
    950: '#000000',
  },
}
SCSS
$custom: #6f971f;
$custom-light: #9cb565;
$custom-dark: #000000;
JSON
{
  "hex": "#6f971f",
  "rgb": {
    "r": 111,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62455,
    "c": 0.14903,
    "h": 127
  },
  "luminance": 0.25612
}

Semantic roles & 50–950 ramp

primary
#6F971F
secondary
#7752BF
accent
#3FE978
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6F971F

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

Preview Lab → · Contrast checker → · Palette generator →

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