#6D871F#6D871F

#6D871F is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.3% C 0.130 H 123.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6D871F
RGBrgb(109, 135, 31)
HSLhsl(75, 63%, 33%)
HSVhsv(75, 77%, 53%)
CMYKcmyk(19.3%, 0%, 77%, 47.1%)
CIE-LABlab(52.60, -24.16, 49.19)
CIE-LCHlch(52.60, 54.81, 116.16°)
OKLaboklab(58.31% -0.0707 0.1089)
OKLCHoklch(58.31% 0.13 123)
XYZxyz(15.2182, 20.6780, 4.4856)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871F #391F87
analogous
#876D1F #6D871F #39871F
triadic
#6D871F #1F6D87 #871F6D
tetradic
#6D871F #1F876D #391F87 #871F39
square
#6D871F #1F876D #391F87 #871F39
split-complementary
#6D871F #1F3987 #6D1F87
monochromatic
#1D2308 #455514 #6D871F #95B92A #B3D64B

Accessibility & contrast

On white

4.09
#6D871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6D871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D871F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D871F#FFFFFF#000000##000000
##6D871F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#738073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d871f;
/* rgb */ color: rgb(109, 135, 31);
/* oklch */ color: oklch(58.3% 0.130 123.0);
Tailwind
colors: {
  custom: {
    50: '#9aaa63',
    500: '#6d871f',
    950: '#000000',
  },
}
SCSS
$custom: #6d871f;
$custom-light: #9aaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871f",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.12987,
    "h": 123
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#6D871F
secondary
#654AB8
accent
#42E66B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D871F

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

Preview Lab → · Contrast checker → · Palette generator →

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