#6B871D#6B871D

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

Color values

HEX#6B871D
RGBrgb(107, 135, 29)
HSLhsl(76, 65%, 32%)
HSVhsv(76, 79%, 53%)
CMYKcmyk(20.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.44, -25.12, 49.69)
CIE-LCHlch(52.44, 55.68, 116.82°)
OKLaboklab(58.15% -0.0734 0.1097)
OKLCHoklch(58.15% 0.132 123.8)
XYZxyz(14.9493, 20.5423, 4.3396)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B871D #391D87
analogous
#876E1D #6B871D #36871D
triadic
#6B871D #1D6B87 #871D6B
tetradic
#6B871D #1D876E #391D87 #871D36
square
#6B871D #1D876E #391D87 #871D36
split-complementary
#6B871D #1D3687 #6E1D87
monochromatic
#1B2207 #435512 #6B871D #93B928 #B1D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B871D#FFFFFF#000000##000000
##6B871D1.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)
#8F7E02
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#718073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b871d;
/* rgb */ color: rgb(107, 135, 29);
/* oklch */ color: oklch(58.2% 0.132 123.8);
Tailwind
colors: {
  custom: {
    50: '#99aa62',
    500: '#6b871d',
    950: '#000000',
  },
}
SCSS
$custom: #6b871d;
$custom-light: #99aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6b871d",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 75.849,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.13197,
    "h": 123.8
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#6B871D
secondary
#6546B9
accent
#40E86C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B871D

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

Preview Lab → · Contrast checker → · Palette generator →

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