#6B971B#6B971B

#6B971B 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#6B971B
RGBrgb(107, 151, 27)
HSLhsl(81, 70%, 35%)
HSVhsv(81, 82%, 59%)
CMYKcmyk(29.1%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.40, -32.88, 54.87)
CIE-LCHlch(57.40, 63.97, 120.93°)
OKLaboklab(62.17% -0.0946 0.1203)
OKLCHoklch(62.17% 0.153 128.2)
XYZxyz(17.3279, 25.3377, 5.0144)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B971B #471B97
analogous
#97851B #6B971B #2D971B
triadic
#6B971B #1B6B97 #971B6B
tetradic
#6B971B #1B9785 #471B97 #971B2D
square
#6B971B #1B9785 #471B97 #971B2D
split-complementary
#6B971B #1B2D97 #851B97
monochromatic
#212F08 #466312 #6B971B #90CB24 #ABDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6b971b;
/* rgb */ color: rgb(107, 151, 27);
/* oklch */ color: oklch(62.2% 0.153 128.2);
Tailwind
colors: {
  custom: {
    50: '#9ab664',
    500: '#6b971b',
    950: '#000000',
  },
}
SCSS
$custom: #6b971b;
$custom-light: #9ab664;
$custom-dark: #000000;
JSON
{
  "hex": "#6b971b",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 81.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.15303,
    "h": 128.2
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#6B971B
secondary
#764CC1
accent
#3BEC7A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B971B

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

Preview Lab → · Contrast checker → · Palette generator →

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