#6F871A#6F871A

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

Color values

HEX#6F871A
RGBrgb(111, 135, 26)
HSLhsl(73, 68%, 32%)
HSVhsv(73, 81%, 53%)
CMYKcmyk(17.8%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.71, -23.55, 51.01)
CIE-LCHlch(52.71, 56.19, 114.78°)
OKLaboklab(58.43% -0.0696 0.1118)
OKLCHoklch(58.43% 0.132 121.9)
XYZxyz(15.4062, 20.7820, 4.1768)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F871A #321A87
analogous
#87691A #6F871A #39871A
triadic
#6F871A #1A6F87 #871A6F
tetradic
#6F871A #1A8769 #321A87 #871A39
square
#6F871A #1A8769 #321A87 #871A39
split-complementary
#6F871A #1A3987 #691A87
monochromatic
#1B2006 #455410 #6F871A #99BA24 #B9DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6f871a;
/* rgb */ color: rgb(111, 135, 26);
/* oklch */ color: oklch(58.4% 0.132 121.9);
Tailwind
colors: {
  custom: {
    50: '#9caa61',
    500: '#6f871a',
    950: '#000000',
  },
}
SCSS
$custom: #6f871a;
$custom-light: #9caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f871a",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 73.211,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.1317,
    "h": 121.9
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#6F871A
secondary
#5D42BA
accent
#3DEB63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F871A

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

Preview Lab → · Contrast checker → · Palette generator →

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