#6D871A#6D871A

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

Color values

HEX#6D871A
RGBrgb(109, 135, 26)
HSLhsl(74, 68%, 32%)
HSVhsv(74, 81%, 53%)
CMYKcmyk(19.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.57, -24.41, 50.83)
CIE-LCHlch(52.57, 56.39, 115.65°)
OKLaboklab(58.28% -0.0718 0.1115)
OKLCHoklch(58.28% 0.133 122.8)
XYZxyz(15.1573, 20.6537, 4.1651)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871A #341A87
analogous
#876B1A #6D871A #37871A
triadic
#6D871A #1A6D87 #871A6D
tetradic
#6D871A #1A876B #341A87 #871A37
square
#6D871A #1A876B #341A87 #871A37
split-complementary
#6D871A #1A3787 #6B1A87
monochromatic
#1A2006 #445410 #6D871A #96BA24 #B6DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D871A#FFFFFF#000000##000000
##6D871A1.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)
#8C7D25
Tritanopia (blue-blind)
#738073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d871a;
/* rgb */ color: rgb(109, 135, 26);
/* oklch */ color: oklch(58.3% 0.133 122.8);
Tailwind
colors: {
  custom: {
    50: '#9aaa61',
    500: '#6d871a',
    950: '#000000',
  },
}
SCSS
$custom: #6d871a;
$custom-light: #9aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871a",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 74.312,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.13262,
    "h": 122.8
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#6D871A
secondary
#5F42BA
accent
#3DEB67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D871A

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

Preview Lab → · Contrast checker → · Palette generator →

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