#6F871D#6F871D

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

Color values

HEX#6F871D
RGBrgb(111, 135, 29)
HSLhsl(74, 65%, 32%)
HSVhsv(74, 79%, 53%)
CMYKcmyk(17.8%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.73, -23.40, 50.05)
CIE-LCHlch(52.73, 55.26, 115.06°)
OKLaboklab(58.45% -0.0689 0.1103)
OKLCHoklch(58.45% 0.13 122)
XYZxyz(15.4415, 20.7961, 4.3627)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F871D #351D87
analogous
#876A1D #6F871D #3A871D
triadic
#6F871D #1D6F87 #871D6F
tetradic
#6F871D #1D876A #351D87 #871D3A
square
#6F871D #1D876A #351D87 #871D3A
split-complementary
#6F871D #1D3A87 #6A1D87
monochromatic
#1C2207 #465512 #6F871D #98B928 #B7D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F871D#FFFFFF#000000##000000
##6F871D1.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)
#8F7E02
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#758073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f871d;
/* rgb */ color: rgb(111, 135, 29);
/* oklch */ color: oklch(58.5% 0.130 122.0);
Tailwind
colors: {
  custom: {
    50: '#9caa62',
    500: '#6f871d',
    950: '#000000',
  },
}
SCSS
$custom: #6f871d;
$custom-light: #9caa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f871d",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 73.585,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.13009,
    "h": 122
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#6F871D
secondary
#6046B9
accent
#40E866
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F871D

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

Preview Lab → · Contrast checker → · Palette generator →

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