#6B8A20#6B8A20

#6B8A20 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.134 H 124.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B8A20
RGBrgb(107, 138, 32)
HSLhsl(78, 62%, 33%)
HSVhsv(78, 77%, 54%)
CMYKcmyk(22.5%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.39, -26.45, 49.55)
CIE-LCHlch(53.39, 56.17, 118.09°)
OKLaboklab(58.92% -0.0768 0.1099)
OKLCHoklch(58.92% 0.134 124.9)
XYZxyz(15.4127, 21.4069, 4.6862)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A20 #3F208A
analogous
#8A7420 #6B8A20 #368A20
triadic
#6B8A20 #206B8A #8A206B
tetradic
#6B8A20 #208A74 #3F208A #8A2036
square
#6B8A20 #208A74 #3F208A #8A2036
split-complementary
#6B8A20 #20368A #74208A
monochromatic
#1E2709 #445814 #6B8A20 #92BC2C #AED64E

Accessibility & contrast

On white

3.98
#6B8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6B8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A20
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A20#FFFFFF#000000##000000
##6B8A201.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a20;
/* rgb */ color: rgb(107, 138, 32);
/* oklch */ color: oklch(58.9% 0.134 124.9);
Tailwind
colors: {
  custom: {
    50: '#99ac64',
    500: '#6b8a20',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a20;
$custom-light: #99ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a20",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 77.547,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58923,
    "c": 0.13406,
    "h": 124.9
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#6B8A20
secondary
#6C4DB9
accent
#42E572
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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