#6B8720#6B8720

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

Color values

HEX#6B8720
RGBrgb(107, 135, 32)
HSLhsl(76, 62%, 33%)
HSVhsv(76, 76%, 53%)
CMYKcmyk(20.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(52.46, -24.97, 48.66)
CIE-LCHlch(52.46, 54.69, 117.16°)
OKLaboklab(58.17% -0.0727 0.108)
OKLCHoklch(58.17% 0.13 123.9)
XYZxyz(14.9882, 20.5579, 4.5447)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8720 #3C2087
analogous
#877020 #6B8720 #378720
triadic
#6B8720 #206B87 #87206B
tetradic
#6B8720 #208770 #3C2087 #872037
square
#6B8720 #208770 #3C2087 #872037
split-complementary
#6B8720 #203787 #702087
monochromatic
#1D2409 #445614 #6B8720 #92B82C #B0D54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8720#FFFFFF#000000##000000
##6B87201.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)
#8F7E0A
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#708073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b8720;
/* rgb */ color: rgb(107, 135, 32);
/* oklch */ color: oklch(58.2% 0.130 123.9);
Tailwind
colors: {
  custom: {
    50: '#99aa64',
    500: '#6b8720',
    950: '#000000',
  },
}
SCSS
$custom: #6b8720;
$custom-light: #99aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8720",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 76.311,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.13022,
    "h": 123.9
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#6B8720
secondary
#694BB8
accent
#43E56F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8720

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

Preview Lab → · Contrast checker → · Palette generator →

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