#6B971C#6B971C

#6B971C 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#6B971C
RGBrgb(107, 151, 28)
HSLhsl(81, 69%, 35%)
HSVhsv(81, 81%, 59%)
CMYKcmyk(29.1%, 0%, 81.5%, 40.8%)
CIE-LABlab(57.41, -32.84, 54.58)
CIE-LCHlch(57.41, 63.70, 121.03°)
OKLaboklab(62.18% -0.0945 0.1198)
OKLCHoklch(62.18% 0.153 128.2)
XYZxyz(17.3396, 25.3424, 5.0764)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B971C #481C97
analogous
#97851C #6B971C #2E971C
triadic
#6B971C #1C6B97 #971C6B
tetradic
#6B971C #1C9785 #481C97 #971C2E
square
#6B971C #1C9785 #481C97 #971C2E
split-complementary
#6B971C #1C2E97 #851C97
monochromatic
#223009 #466312 #6B971C #90CB26 #ABDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B971C#FFFFFF#000000##000000
##6B971C1.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: #6b971c;
/* rgb */ color: rgb(107, 151, 28);
/* oklch */ color: oklch(62.2% 0.153 128.2);
Tailwind
colors: {
  custom: {
    50: '#9ab664',
    500: '#6b971c',
    950: '#000000',
  },
}
SCSS
$custom: #6b971c;
$custom-light: #9ab664;
$custom-dark: #000000;
JSON
{
  "hex": "#6b971c",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 81.463,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.15257,
    "h": 128.2
  },
  "luminance": 0.25343
}

Semantic roles & 50–950 ramp

primary
#6B971C
secondary
#774EC1
accent
#3CEC7B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B971C

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

Preview Lab → · Contrast checker → · Palette generator →

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