#6B971D#6B971D

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

Color values

HEX#6B971D
RGBrgb(107, 151, 29)
HSLhsl(82, 68%, 35%)
HSVhsv(82, 81%, 59%)
CMYKcmyk(29.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(57.41, -32.79, 54.29)
CIE-LCHlch(57.41, 63.42, 121.13°)
OKLaboklab(62.18% -0.0942 0.1194)
OKLCHoklch(62.18% 0.152 128.3)
XYZxyz(17.3518, 25.3473, 5.1405)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B971D #491D97
analogous
#97861D #6B971D #2E971D
triadic
#6B971D #1D6B97 #971D6B
tetradic
#6B971D #1D9786 #491D97 #971D2E
square
#6B971D #1D9786 #491D97 #971D2E
split-complementary
#6B971D #1D2E97 #861D97
monochromatic
#223009 #476413 #6B971D #8FCA27 #ABDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B971D#FFFFFF#000000##000000
##6B971D1.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)
#99892A
Tritanopia (blue-blind)
#6F9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6b971d;
/* rgb */ color: rgb(107, 151, 29);
/* oklch */ color: oklch(62.2% 0.152 128.3);
Tailwind
colors: {
  custom: {
    50: '#9ab665',
    500: '#6b971d',
    950: '#000000',
  },
}
SCSS
$custom: #6b971d;
$custom-light: #9ab665;
$custom-dark: #000000;
JSON
{
  "hex": "#6b971d",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 81.639,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62181,
    "c": 0.15209,
    "h": 128.3
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

primary
#6B971D
secondary
#784FC0
accent
#3DEB7C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B971D

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

Preview Lab → · Contrast checker → · Palette generator →

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