#6D871D#6D871D

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

Color values

HEX#6D871D
RGBrgb(109, 135, 29)
HSLhsl(75, 65%, 32%)
HSVhsv(75, 79%, 53%)
CMYKcmyk(19.3%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.58, -24.27, 49.87)
CIE-LCHlch(52.58, 55.46, 115.95°)
OKLaboklab(58.3% -0.0712 0.11)
OKLCHoklch(58.3% 0.131 122.9)
XYZxyz(15.1926, 20.6678, 4.3511)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871D #371D87
analogous
#876C1D #6D871D #38871D
triadic
#6D871D #1D6D87 #871D6D
tetradic
#6D871D #1D876C #371D87 #871D38
square
#6D871D #1D876C #371D87 #871D38
split-complementary
#6D871D #1D3887 #6C1D87
monochromatic
#1C2207 #445512 #6D871D #96B928 #B4D747

Accessibility & contrast

On white

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

On black

5.13
#6D871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D871D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D871D#FFFFFF#000000##000000
##6D871D1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d871d;
/* rgb */ color: rgb(109, 135, 29);
/* oklch */ color: oklch(58.3% 0.131 122.9);
Tailwind
colors: {
  custom: {
    50: '#9aaa62',
    500: '#6d871d',
    950: '#000000',
  },
}
SCSS
$custom: #6d871d;
$custom-light: #9aaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871d",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 74.717,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.13102,
    "h": 122.9
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#6D871D
secondary
#6346B9
accent
#40E869
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D871D

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

Preview Lab → · Contrast checker → · Palette generator →

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