#6D871C#6D871C

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

Color values

HEX#6D871C
RGBrgb(109, 135, 28)
HSLhsl(75, 66%, 32%)
HSVhsv(75, 79%, 53%)
CMYKcmyk(19.3%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.58, -24.32, 50.20)
CIE-LCHlch(52.58, 55.78, 115.85°)
OKLaboklab(58.29% -0.0714 0.1105)
OKLCHoklch(58.29% 0.132 122.9)
XYZxyz(15.1805, 20.6629, 4.2870)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871C #361C87
analogous
#876B1C #6D871C #38871C
triadic
#6D871C #1C6D87 #871C6D
tetradic
#6D871C #1C876B #361C87 #871C38
square
#6D871C #1C876B #361C87 #871C38
split-complementary
#6D871C #1C3887 #6B1C87
monochromatic
#1B2207 #445411 #6D871C #96BA27 #B5D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D871C#FFFFFF#000000##000000
##6D871C1.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)
#8F7E00
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#738073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d871c;
/* rgb */ color: rgb(109, 135, 28);
/* oklch */ color: oklch(58.3% 0.132 122.9);
Tailwind
colors: {
  custom: {
    50: '#9aaa62',
    500: '#6d871c',
    950: '#000000',
  },
}
SCSS
$custom: #6d871c;
$custom-light: #9aaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871c",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 74.579,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.13157,
    "h": 122.9
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#6D871C
secondary
#6145BA
accent
#3FE968
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D871C

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

Preview Lab → · Contrast checker → · Palette generator →

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