#6B971F#6B971F

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

Color values

HEX#6B971F
RGBrgb(107, 151, 31)
HSLhsl(82, 66%, 36%)
HSVhsv(82, 79%, 59%)
CMYKcmyk(29.1%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.42, -32.69, 53.68)
CIE-LCHlch(57.42, 62.85, 121.34°)
OKLaboklab(62.19% -0.0938 0.1184)
OKLCHoklch(62.19% 0.151 128.4)
XYZxyz(17.3773, 25.3575, 5.2750)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B971F #4B1F97
analogous
#97871F #6B971F #2F971F
triadic
#6B971F #1F6B97 #971F6B
tetradic
#6B971F #1F9787 #4B1F97 #971F2F
square
#6B971F #1F9787 #4B1F97 #971F2F
split-complementary
#6B971F #1F2F97 #871F97
monochromatic
#23310A #476415 #6B971F #8FCA29 #AADC54

Accessibility & contrast

On white

3.46
#6B971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#6B971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B971F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B971F#FFFFFF#000000##000000
##6B971F1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b971f;
/* rgb */ color: rgb(107, 151, 31);
/* oklch */ color: oklch(62.2% 0.151 128.4);
Tailwind
colors: {
  custom: {
    50: '#99b665',
    500: '#6b971f',
    950: '#000000',
  },
}
SCSS
$custom: #6b971f;
$custom-light: #99b665;
$custom-dark: #000000;
JSON
{
  "hex": "#6b971f",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 82,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.15109,
    "h": 128.4
  },
  "luminance": 0.25358
}

Semantic roles & 50–950 ramp

primary
#6B971F
secondary
#7A52BF
accent
#3FE97D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B971F

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

Preview Lab → · Contrast checker → · Palette generator →

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