#6A8A20#6A8A20

#6A8A20 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.9% C 0.135 H 125.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A8A20
RGBrgb(106, 138, 32)
HSLhsl(78, 62%, 33%)
HSVhsv(78, 77%, 54%)
CMYKcmyk(23.2%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.33, -26.87, 49.47)
CIE-LCHlch(53.33, 56.29, 118.51°)
OKLaboklab(58.85% -0.0779 0.1097)
OKLCHoklch(58.85% 0.135 125.4)
XYZxyz(15.2932, 21.3452, 4.6806)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A20 #40208A
analogous
#8A7520 #6A8A20 #358A20
triadic
#6A8A20 #206A8A #8A206A
tetradic
#6A8A20 #208A75 #40208A #8A2035
square
#6A8A20 #208A75 #40208A #8A2035
split-complementary
#6A8A20 #20358A #75208A
monochromatic
#1E2709 #445814 #6A8A20 #90BC2C #ADD64E

Accessibility & contrast

On white

3.99
#6A8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6A8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A20
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A20#FFFFFF#000000##000000
##6A8A201.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a20;
/* rgb */ color: rgb(106, 138, 32);
/* oklch */ color: oklch(58.9% 0.135 125.4);
Tailwind
colors: {
  custom: {
    50: '#98ac64',
    500: '#6a8a20',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a20;
$custom-light: #98ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a20",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 78.113,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.13455,
    "h": 125.4
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#6A8A20
secondary
#6D4DB9
accent
#42E574
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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