#6B871E#6B871E

#6B871E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.131 H 123.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6B871E
RGBrgb(107, 135, 30)
HSLhsl(76, 64%, 32%)
HSVhsv(76, 78%, 53%)
CMYKcmyk(20.7%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.45, -25.07, 49.36)
CIE-LCHlch(52.45, 55.36, 116.93°)
OKLaboklab(58.16% -0.0732 0.1091)
OKLCHoklch(58.16% 0.131 123.8)
XYZxyz(14.9619, 20.5474, 4.4058)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B871E #3A1E87
analogous
#876F1E #6B871E #37871E
triadic
#6B871E #1E6B87 #871E6B
tetradic
#6B871E #1E876F #3A1E87 #871E37
square
#6B871E #1E876F #3A1E87 #871E37
split-complementary
#6B871E #1E3787 #6F1E87
monochromatic
#1C2308 #435513 #6B871E #93B929 #B1D749

Accessibility & contrast

On white

4.11
#6B871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6B871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B871E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B871E#FFFFFF#000000##000000
##6B871E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E05
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#718073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b871e;
/* rgb */ color: rgb(107, 135, 30);
/* oklch */ color: oklch(58.2% 0.131 123.8);
Tailwind
colors: {
  custom: {
    50: '#99aa63',
    500: '#6b871e',
    950: '#000000',
  },
}
SCSS
$custom: #6b871e;
$custom-light: #99aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6b871e",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 76,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.13141,
    "h": 123.8
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#6B871E
secondary
#6648B9
accent
#41E76D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B871E

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

Preview Lab → · Contrast checker → · Palette generator →

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