#6B971A#6B971A

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

Color values

HEX#6B971A
RGBrgb(107, 151, 26)
HSLhsl(81, 71%, 35%)
HSVhsv(81, 83%, 59%)
CMYKcmyk(29.1%, 0%, 82.8%, 40.8%)
CIE-LABlab(57.40, -32.92, 55.15)
CIE-LCHlch(57.40, 64.23, 120.84°)
OKLaboklab(62.17% -0.0948 0.1207)
OKLCHoklch(62.17% 0.153 128.2)
XYZxyz(17.3165, 25.3332, 4.9545)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B971A #461A97
analogous
#97851A #6B971A #2D971A
triadic
#6B971A #1A6B97 #971A6B
tetradic
#6B971A #1A9785 #461A97 #971A2D
square
#6B971A #1A9785 #461A97 #971A2D
split-complementary
#6B971A #1A2D97 #851A97
monochromatic
#212F08 #466311 #6B971A #90CB23 #ACE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B971A#FFFFFF#000000##000000
##6B971A1.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)
#998928
Tritanopia (blue-blind)
#6F9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6b971a;
/* rgb */ color: rgb(107, 151, 26);
/* oklch */ color: oklch(62.2% 0.153 128.2);
Tailwind
colors: {
  custom: {
    50: '#9ab663',
    500: '#6b971a',
    950: '#000000',
  },
}
SCSS
$custom: #6b971a;
$custom-light: #9ab663;
$custom-dark: #000000;
JSON
{
  "hex": "#6b971a",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 81.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62165,
    "c": 0.15349,
    "h": 128.2
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

primary
#6B971A
secondary
#754BC2
accent
#3AED79
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B971A

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

Preview Lab → · Contrast checker → · Palette generator →

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