#6F871C#6F871C

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

Color values

HEX#6F871C
RGBrgb(111, 135, 28)
HSLhsl(73, 66%, 32%)
HSVhsv(73, 79%, 53%)
CMYKcmyk(17.8%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.72, -23.45, 50.38)
CIE-LCHlch(52.72, 55.57, 114.96°)
OKLaboklab(58.44% -0.0691 0.1108)
OKLCHoklch(58.44% 0.131 122)
XYZxyz(15.4294, 20.7913, 4.2986)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F871C #341C87
analogous
#876A1C #6F871C #3A871C
triadic
#6F871C #1C6F87 #871C6F
tetradic
#6F871C #1C876A #341C87 #871C3A
square
#6F871C #1C876A #341C87 #871C3A
split-complementary
#6F871C #1C3A87 #6A1C87
monochromatic
#1C2207 #455411 #6F871C #99BA27 #B7D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F871C#FFFFFF#000000##000000
##6F871C1.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)
#8C7E26
Tritanopia (blue-blind)
#758073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f871c;
/* rgb */ color: rgb(111, 135, 28);
/* oklch */ color: oklch(58.4% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#9caa62',
    500: '#6f871c',
    950: '#000000',
  },
}
SCSS
$custom: #6f871c;
$custom-light: #9caa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f871c",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 73.458,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.13063,
    "h": 122
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#6F871C
secondary
#5F45BA
accent
#3FE965
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F871C

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

Preview Lab → · Contrast checker → · Palette generator →

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