#6C971B#6C971B

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

Color values

HEX#6C971B
RGBrgb(108, 151, 27)
HSLhsl(81, 70%, 35%)
HSVhsv(81, 82%, 59%)
CMYKcmyk(28.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.46, -32.48, 54.95)
CIE-LCHlch(57.46, 63.83, 120.59°)
OKLaboklab(62.24% -0.0936 0.1204)
OKLCHoklch(62.24% 0.153 127.9)
XYZxyz(17.4488, 25.4001, 5.0201)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C971B #461B97
analogous
#97841B #6C971B #2E971B
triadic
#6C971B #1B6C97 #971B6C
tetradic
#6C971B #1B9784 #461B97 #971B2E
square
#6C971B #1B9784 #461B97 #971B2E
split-complementary
#6C971B #1B2E97 #841B97
monochromatic
#222F08 #476312 #6C971B #91CB24 #ADDF4D

Accessibility & contrast

On white

3.45
#6C971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#6C971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C971B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C971B#FFFFFF#000000##000000
##6C971B1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#709081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c971b;
/* rgb */ color: rgb(108, 151, 27);
/* oklch */ color: oklch(62.2% 0.153 127.9);
Tailwind
colors: {
  custom: {
    50: '#9ab664',
    500: '#6c971b',
    950: '#000000',
  },
}
SCSS
$custom: #6c971b;
$custom-light: #9ab664;
$custom-dark: #000000;
JSON
{
  "hex": "#6c971b",
  "rgb": {
    "r": 108,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 80.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62235,
    "c": 0.15252,
    "h": 127.9
  },
  "luminance": 0.254
}

Semantic roles & 50–950 ramp

primary
#6C971B
secondary
#754CC1
accent
#3BEC79
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C971B

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

Preview Lab → · Contrast checker → · Palette generator →

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