#3A8020#3A8020

#3A8020 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.147 H 138.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A8020
RGBrgb(58, 128, 32)
HSLhsl(104, 60%, 31%)
HSVhsv(104, 75%, 50%)
CMYKcmyk(54.7%, 0%, 75%, 49.8%)
CIE-LABlab(47.55, -40.06, 42.93)
CIE-LCHlch(47.55, 58.72, 133.02°)
OKLaboklab(53.45% -0.1105 0.097)
OKLCHoklch(53.45% 0.147 138.7)
XYZxyz(9.7244, 16.4414, 4.0273)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8020 #662080
analogous
#6A8020 #3A8020 #208036
triadic
#3A8020 #203A80 #80203A
tetradic
#3A8020 #206A80 #662080 #803620
square
#3A8020 #206A80 #662080 #803620
split-complementary
#3A8020 #362080 #80206A
monochromatic
#0E1E08 #244F14 #3A8020 #50B12C #6ED149

Accessibility & contrast

On white

4.90
#3A8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3A8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8020
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8020#FFFFFF#000000##FFFFFF
##3A80201.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#347B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8020;
/* rgb */ color: rgb(58, 128, 32);
/* oklch */ color: oklch(53.5% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#78a562',
    500: '#3a8020',
    950: '#000000',
  },
}
SCSS
$custom: #3a8020;
$custom-light: #78a562;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8020",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 103.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.14699,
    "h": 138.7
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#3A8020
secondary
#9649B3
accent
#45E3B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #3A8020

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

Preview Lab → · Contrast checker → · Palette generator →

#3A8020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva