#6D871E#6D871E

#6D871E 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.13:1 contrast (WCAG AA passes).

Color values

HEX#6D871E
RGBrgb(109, 135, 30)
HSLhsl(75, 64%, 32%)
HSVhsv(75, 78%, 53%)
CMYKcmyk(19.3%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.59, -24.22, 49.54)
CIE-LCHlch(52.59, 55.14, 116.05°)
OKLaboklab(58.3% -0.071 0.1095)
OKLCHoklch(58.3% 0.13 123)
XYZxyz(15.2052, 20.6728, 4.4172)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871E #381E87
analogous
#876C1E #6D871E #39871E
triadic
#6D871E #1E6D87 #871E6D
tetradic
#6D871E #1E876C #381E87 #871E39
square
#6D871E #1E876C #381E87 #871E39
split-complementary
#6D871E #1E3987 #6C1E87
monochromatic
#1C2308 #455513 #6D871E #95B929 #B3D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D871E#FFFFFF#000000##000000
##6D871E1.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)
#8F7E05
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#738073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d871e;
/* rgb */ color: rgb(109, 135, 30);
/* oklch */ color: oklch(58.3% 0.130 123.0);
Tailwind
colors: {
  custom: {
    50: '#9aaa63',
    500: '#6d871e',
    950: '#000000',
  },
}
SCSS
$custom: #6d871e;
$custom-light: #9aaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871e",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 74.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.13045,
    "h": 123
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#6D871E
secondary
#6448B9
accent
#41E76A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D871E

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

Preview Lab → · Contrast checker → · Palette generator →

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