#3A9A20#3A9A20

#3A9A20 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.179 H 140.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3A9A20
RGBrgb(58, 154, 32)
HSLhsl(107, 66%, 36%)
HSVhsv(107, 79%, 60%)
CMYKcmyk(62.3%, 0%, 79.2%, 39.6%)
CIE-LABlab(56.20, -49.95, 51.43)
CIE-LCHlch(56.20, 71.69, 134.16°)
OKLaboklab(60.6% -0.1371 0.1147)
OKLCHoklch(60.6% 0.179 140.1)
XYZxyz(13.5606, 24.1138, 5.3060)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9A20 #80209A
analogous
#779A20 #3A9A20 #209A43
triadic
#3A9A20 #203A9A #9A203A
tetradic
#3A9A20 #20779A #80209A #9A4320
square
#3A9A20 #20779A #80209A #9A4320
split-complementary
#3A9A20 #43209A #9A2077
monochromatic
#14350B #276715 #3A9A20 #4DCD2B #74DC58

Accessibility & contrast

On white

3.61
#3A9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#3A9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9A20
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9A20#FFFFFF#000000##000000
##3A9A201.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#2D9583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3a9a20;
/* rgb */ color: rgb(58, 154, 32);
/* oklch */ color: oklch(60.6% 0.179 140.1);
Tailwind
colors: {
  custom: {
    50: '#7db966',
    500: '#3a9a20',
    950: '#000000',
  },
}
SCSS
$custom: #3a9a20;
$custom-light: #7db966;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9a20",
  "rgb": {
    "r": 58,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 107.213,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.17876,
    "h": 140.1
  },
  "luminance": 0.24115
}

Semantic roles & 50–950 ramp

primary
#3A9A20
secondary
#A956C0
accent
#3FE9C4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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