#6F871F#6F871F

#6F871F is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.5% C 0.129 H 122.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6F871F
RGBrgb(111, 135, 31)
HSLhsl(74, 63%, 33%)
HSVhsv(74, 77%, 53%)
CMYKcmyk(17.8%, 0%, 77%, 47.1%)
CIE-LABlab(52.74, -23.30, 49.38)
CIE-LCHlch(52.74, 54.60, 115.26°)
OKLaboklab(58.46% -0.0685 0.1092)
OKLCHoklch(58.46% 0.129 122.1)
XYZxyz(15.4671, 20.8063, 4.4972)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F871F #371F87
analogous
#876B1F #6F871F #3B871F
triadic
#6F871F #1F6F87 #871F6F
tetradic
#6F871F #1F876B #371F87 #871F3B
square
#6F871F #1F876B #371F87 #871F3B
split-complementary
#6F871F #1F3B87 #6B1F87
monochromatic
#1D2308 #465514 #6F871F #98B92A #B6D64B

Accessibility & contrast

On white

4.07
#6F871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6F871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F871F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F871F#FFFFFF#000000##000000
##6F871F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#758073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f871f;
/* rgb */ color: rgb(111, 135, 31);
/* oklch */ color: oklch(58.5% 0.129 122.1);
Tailwind
colors: {
  custom: {
    50: '#9baa63',
    500: '#6f871f',
    950: '#000000',
  },
}
SCSS
$custom: #6f871f;
$custom-light: #9baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6f871f",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 73.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.12894,
    "h": 122.1
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#6F871F
secondary
#634AB8
accent
#42E668
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F871F

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

Preview Lab → · Contrast checker → · Palette generator →

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