#3A9F20#3A9F20

#3A9F20 is a mid, vivid green. Relative luminance 0.258; OKLCH L 62.0% C 0.185 H 140.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3A9F20
RGBrgb(58, 159, 32)
HSLhsl(108, 66%, 37%)
HSVhsv(108, 80%, 62%)
CMYKcmyk(63.5%, 0%, 79.9%, 37.6%)
CIE-LABlab(57.85, -51.73, 53.00)
CIE-LCHlch(57.85, 74.06, 134.31°)
OKLaboklab(61.96% -0.1419 0.118)
OKLCHoklch(61.96% 0.185 140.3)
XYZxyz(14.4031, 25.7987, 5.5868)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9F20 #85209F
analogous
#799F20 #3A9F20 #209F46
triadic
#3A9F20 #203A9F #9F203A
tetradic
#3A9F20 #20799F #85209F #9F4620
square
#3A9F20 #20799F #85209F #9F4620
split-complementary
#3A9F20 #46209F #9F2079
monochromatic
#15390B #276C16 #3A9F20 #4DD22A #76DE5B

Accessibility & contrast

On white

3.41
#3A9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#3A9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9F20
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9F20#FFFFFF#000000##000000
##3A9F201.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#2B9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #3a9f20;
/* rgb */ color: rgb(58, 159, 32);
/* oklch */ color: oklch(62.0% 0.185 140.3);
Tailwind
colors: {
  custom: {
    50: '#7ebc66',
    500: '#3a9f20',
    950: '#000000',
  },
}
SCSS
$custom: #3a9f20;
$custom-light: #7ebc66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9f20",
  "rgb": {
    "r": 58,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 107.717,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.18455,
    "h": 140.3
  },
  "luminance": 0.258
}

Semantic roles & 50–950 ramp

primary
#3A9F20
secondary
#AD59C2
accent
#3EE9C6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #3A9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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