#3A8A20#3A8A20

#3A8A20 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.160 H 139.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A8A20
RGBrgb(58, 138, 32)
HSLhsl(105, 62%, 33%)
HSVhsv(105, 77%, 54%)
CMYKcmyk(58%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.90, -44.00, 46.27)
CIE-LCHlch(50.90, 63.85, 133.55°)
OKLaboklab(56.21% -0.1211 0.104)
OKLCHoklch(56.21% 0.16 139.3)
XYZxyz(11.0937, 19.1798, 4.4837)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A20 #70208A
analogous
#6F8A20 #3A8A20 #208A3B
triadic
#3A8A20 #203A8A #8A203A
tetradic
#3A8A20 #206F8A #70208A #8A3B20
square
#3A8A20 #206F8A #70208A #8A3B20
split-complementary
#3A8A20 #3B208A #8A206F
monochromatic
#102709 #255814 #3A8A20 #4FBC2C #70D64E

Accessibility & contrast

On white

4.34
#3A8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A20
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A20#FFFFFF#000000##000000
##3A8A201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a20;
/* rgb */ color: rgb(58, 138, 32);
/* oklch */ color: oklch(56.2% 0.160 139.3);
Tailwind
colors: {
  custom: {
    50: '#7aad63',
    500: '#3a8a20',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a20;
$custom-light: #7aad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a20",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 105.283,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.15958,
    "h": 139.3
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#3A8A20
secondary
#9E4DB9
accent
#42E5BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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