#6F871B#6F871B

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

Color values

HEX#6F871B
RGBrgb(111, 135, 27)
HSLhsl(73, 67%, 32%)
HSVhsv(73, 80%, 53%)
CMYKcmyk(17.8%, 0%, 80%, 47.1%)
CIE-LABlab(52.72, -23.50, 50.70)
CIE-LCHlch(52.72, 55.88, 114.87°)
OKLaboklab(58.44% -0.0694 0.1113)
OKLCHoklch(58.44% 0.131 121.9)
XYZxyz(15.4176, 20.7866, 4.2367)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F871B #331B87
analogous
#87691B #6F871B #39871B
triadic
#6F871B #1B6F87 #871B6F
tetradic
#6F871B #1B8769 #331B87 #871B39
square
#6F871B #1B8769 #331B87 #871B39
split-complementary
#6F871B #1B3987 #691B87
monochromatic
#1B2107 #455411 #6F871B #99BA25 #B8D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F871B#FFFFFF#000000##000000
##6F871B1.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)
#907E00
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#758073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f871b;
/* rgb */ color: rgb(111, 135, 27);
/* oklch */ color: oklch(58.4% 0.131 121.9);
Tailwind
colors: {
  custom: {
    50: '#9caa61',
    500: '#6f871b',
    950: '#000000',
  },
}
SCSS
$custom: #6f871b;
$custom-light: #9caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f871b",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 73.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.13117,
    "h": 121.9
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#6F871B
secondary
#5E44BA
accent
#3EEA64
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F871B

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

Preview Lab → · Contrast checker → · Palette generator →

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