#6B871A#6B871A

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

Color values

HEX#6B871A
RGBrgb(107, 135, 26)
HSLhsl(75, 68%, 32%)
HSVhsv(75, 81%, 53%)
CMYKcmyk(20.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.43, -25.27, 50.65)
CIE-LCHlch(52.43, 56.61, 116.51°)
OKLaboklab(58.13% -0.074 0.1112)
OKLCHoklch(58.13% 0.134 123.7)
XYZxyz(14.9140, 20.5282, 4.1537)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B871A #361A87
analogous
#876D1A #6B871A #35871A
triadic
#6B871A #1A6B87 #871A6B
tetradic
#6B871A #1A876D #361A87 #871A35
square
#6B871A #1A876D #361A87 #871A35
split-complementary
#6B871A #1A3587 #6D1A87
monochromatic
#1A2006 #425410 #6B871A #94BA24 #B3DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B871A#FFFFFF#000000##000000
##6B871A1.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)
#8B7D25
Tritanopia (blue-blind)
#718073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b871a;
/* rgb */ color: rgb(107, 135, 26);
/* oklch */ color: oklch(58.1% 0.134 123.7);
Tailwind
colors: {
  custom: {
    50: '#99aa61',
    500: '#6b871a',
    950: '#000000',
  },
}
SCSS
$custom: #6b871a;
$custom-light: #99aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b871a",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 75.413,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.13358,
    "h": 123.7
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#6B871A
secondary
#6142BA
accent
#3DEB6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B871A

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

Preview Lab → · Contrast checker → · Palette generator →

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