#3A9520#3A9520

#3A9520 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.173 H 139.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3A9520
RGBrgb(58, 149, 32)
HSLhsl(107, 65%, 35%)
HSVhsv(107, 79%, 58%)
CMYKcmyk(61.1%, 0%, 78.5%, 41.6%)
CIE-LABlab(54.55, -48.13, 49.85)
CIE-LCHlch(54.55, 69.29, 134.00°)
OKLaboklab(59.23% -0.1322 0.1114)
OKLCHoklch(59.23% 0.173 139.9)
XYZxyz(12.7525, 22.4976, 5.0367)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9520 #7B2095
analogous
#749520 #3A9520 #209541
triadic
#3A9520 #203A95 #95203A
tetradic
#3A9520 #207495 #7B2095 #954120
square
#3A9520 #207495 #7B2095 #954120
split-complementary
#3A9520 #412095 #952074
monochromatic
#13300A #266315 #3A9520 #4EC72B #73DA55

Accessibility & contrast

On white

3.82
#3A9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#3A9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9520
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9520#FFFFFF#000000##000000
##3A95201.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#2E907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a9520;
/* rgb */ color: rgb(58, 149, 32);
/* oklch */ color: oklch(59.2% 0.173 139.9);
Tailwind
colors: {
  custom: {
    50: '#7cb565',
    500: '#3a9520',
    950: '#000000',
  },
}
SCSS
$custom: #3a9520;
$custom-light: #7cb565;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9520",
  "rgb": {
    "r": 58,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 106.667,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.17288,
    "h": 139.9
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#3A9520
secondary
#A653BE
accent
#40E8C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A9520

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

Preview Lab → · Contrast checker → · Palette generator →

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