#6B871C#6B871C

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

Color values

HEX#6B871C
RGBrgb(107, 135, 28)
HSLhsl(76, 66%, 32%)
HSVhsv(76, 79%, 53%)
CMYKcmyk(20.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.44, -25.17, 50.02)
CIE-LCHlch(52.44, 56.00, 116.72°)
OKLaboklab(58.15% -0.0736 0.1102)
OKLCHoklch(58.15% 0.133 123.8)
XYZxyz(14.9372, 20.5375, 4.2756)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B871C #381C87
analogous
#876E1C #6B871C #36871C
triadic
#6B871C #1C6B87 #871C6B
tetradic
#6B871C #1C876E #381C87 #871C36
square
#6B871C #1C876E #381C87 #871C36
split-complementary
#6B871C #1C3687 #6E1C87
monochromatic
#1B2207 #435411 #6B871C #93BA27 #B2D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6b871c;
/* rgb */ color: rgb(107, 135, 28);
/* oklch */ color: oklch(58.1% 0.133 123.8);
Tailwind
colors: {
  custom: {
    50: '#99aa62',
    500: '#6b871c',
    950: '#000000',
  },
}
SCSS
$custom: #6b871c;
$custom-light: #99aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6b871c",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 75.701,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.13253,
    "h": 123.8
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#6B871C
secondary
#6345BA
accent
#3FE96C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B871C

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

Preview Lab → · Contrast checker → · Palette generator →

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