#6D871B#6D871B

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

Color values

HEX#6D871B
RGBrgb(109, 135, 27)
HSLhsl(74, 67%, 32%)
HSVhsv(74, 80%, 53%)
CMYKcmyk(19.3%, 0%, 80%, 47.1%)
CIE-LABlab(52.57, -24.36, 50.52)
CIE-LCHlch(52.57, 56.09, 115.75°)
OKLaboklab(58.29% -0.0716 0.111)
OKLCHoklch(58.29% 0.132 122.8)
XYZxyz(15.1687, 20.6582, 4.2250)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D871B #351B87
analogous
#876B1B #6D871B #37871B
triadic
#6D871B #1B6D87 #871B6D
tetradic
#6D871B #1B876B #351B87 #871B37
square
#6D871B #1B876B #351B87 #871B37
split-complementary
#6D871B #1B3787 #6B1B87
monochromatic
#1B2107 #445411 #6D871B #96BA25 #B5D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6d871b;
/* rgb */ color: rgb(109, 135, 27);
/* oklch */ color: oklch(58.3% 0.132 122.8);
Tailwind
colors: {
  custom: {
    50: '#9aaa61',
    500: '#6d871b',
    950: '#000000',
  },
}
SCSS
$custom: #6d871b;
$custom-light: #9aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d871b",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 74.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.1321,
    "h": 122.8
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#6D871B
secondary
#6044BA
accent
#3EEA67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D871B

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

Preview Lab → · Contrast checker → · Palette generator →

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