#6F971B#6F971B

#6F971B is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.4% C 0.151 H 126.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6F971B
RGBrgb(111, 151, 27)
HSLhsl(79, 70%, 35%)
HSVhsv(79, 82%, 59%)
CMYKcmyk(26.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.65, -31.27, 55.18)
CIE-LCHlch(57.65, 63.43, 119.54°)
OKLaboklab(62.43% -0.0905 0.1208)
OKLCHoklch(62.43% 0.151 126.8)
XYZxyz(17.8201, 25.5915, 5.0375)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F971B #431B97
analogous
#97811B #6F971B #31971B
triadic
#6F971B #1B6F97 #971B6F
tetradic
#6F971B #1B9781 #431B97 #971B31
square
#6F971B #1B9781 #431B97 #971B31
split-complementary
#6F971B #1B3197 #811B97
monochromatic
#232F08 #496312 #6F971B #95CB24 #B0DF4D

Accessibility & contrast

On white

3.43
#6F971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6F971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F971B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F971B#FFFFFF#000000##000000
##6F971B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f971b;
/* rgb */ color: rgb(111, 151, 27);
/* oklch */ color: oklch(62.4% 0.151 126.8);
Tailwind
colors: {
  custom: {
    50: '#9cb564',
    500: '#6f971b',
    950: '#000000',
  },
}
SCSS
$custom: #6f971b;
$custom-light: #9cb564;
$custom-dark: #000000;
JSON
{
  "hex": "#6f971b",
  "rgb": {
    "r": 111,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 79.355,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.15096,
    "h": 126.8
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#6F971B
secondary
#724CC1
accent
#3BEC74
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #6F971B

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

Preview Lab → · Contrast checker → · Palette generator →

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