#6B8E20#6B8E20

#6B8E20 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.139 H 126.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6B8E20
RGBrgb(107, 142, 32)
HSLhsl(79, 63%, 34%)
HSVhsv(79, 77%, 56%)
CMYKcmyk(24.6%, 0%, 77.5%, 44.3%)
CIE-LABlab(54.63, -28.39, 50.73)
CIE-LCHlch(54.63, 58.14, 119.23°)
OKLaboklab(59.93% -0.0821 0.1124)
OKLCHoklch(59.93% 0.139 126.1)
XYZxyz(15.9972, 22.5758, 4.8810)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8E20 #43208E
analogous
#8E7A20 #6B8E20 #348E20
triadic
#6B8E20 #206B8E #8E206B
tetradic
#6B8E20 #208E7A #43208E #8E2034
square
#6B8E20 #208E7A #43208E #8E2034
split-complementary
#6B8E20 #20348E #7A208E
monochromatic
#202A09 #455C15 #6B8E20 #91C02B #ADD851

Accessibility & contrast

On white

3.81
#6B8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6B8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8E20
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8E20#FFFFFF#000000##000000
##6B8E201.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#708779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8e20;
/* rgb */ color: rgb(107, 142, 32);
/* oklch */ color: oklch(59.9% 0.139 126.1);
Tailwind
colors: {
  custom: {
    50: '#99af65',
    500: '#6b8e20',
    950: '#000000',
  },
}
SCSS
$custom: #6b8e20;
$custom-light: #99af65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8e20",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 79.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.13916,
    "h": 126.1
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#6B8E20
secondary
#714FBB
accent
#42E676
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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