#6A8720#6A8720

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

Color values

HEX#6A8720
RGBrgb(106, 135, 32)
HSLhsl(77, 62%, 33%)
HSVhsv(77, 76%, 53%)
CMYKcmyk(21.5%, 0%, 76.3%, 47.1%)
CIE-LABlab(52.39, -25.39, 48.57)
CIE-LCHlch(52.39, 54.81, 117.60°)
OKLaboklab(58.1% -0.0738 0.1079)
OKLCHoklch(58.1% 0.131 124.4)
XYZxyz(14.8687, 20.4963, 4.5391)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8720 #3D2087
analogous
#877020 #6A8720 #378720
triadic
#6A8720 #206A87 #87206A
tetradic
#6A8720 #208770 #3D2087 #872037
square
#6A8720 #208770 #3D2087 #872037
split-complementary
#6A8720 #203787 #702087
monochromatic
#1C2409 #435614 #6A8720 #91B82C #AED54D

Accessibility & contrast

On white

4.12
#6A8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6A8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8720
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8720#FFFFFF#000000##000000
##6A87201.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#6F8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a8720;
/* rgb */ color: rgb(106, 135, 32);
/* oklch */ color: oklch(58.1% 0.131 124.4);
Tailwind
colors: {
  custom: {
    50: '#98aa64',
    500: '#6a8720',
    950: '#000000',
  },
}
SCSS
$custom: #6a8720;
$custom-light: #98aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8720",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 76.893,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.1307,
    "h": 124.4
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#6A8720
secondary
#6A4BB8
accent
#43E571
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8720

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

Preview Lab → · Contrast checker → · Palette generator →

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