#3A8520#3A8520

#3A8520 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.153 H 139.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A8520
RGBrgb(58, 133, 32)
HSLhsl(105, 61%, 32%)
HSVhsv(105, 76%, 52%)
CMYKcmyk(56.4%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.23, -42.05, 44.61)
CIE-LCHlch(49.23, 61.31, 133.31°)
OKLaboklab(54.84% -0.1158 0.1005)
OKLCHoklch(54.84% 0.153 139.1)
XYZxyz(10.3928, 17.7780, 4.2501)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8520 #6B2085
analogous
#6D8520 #3A8520 #208538
triadic
#3A8520 #203A85 #85203A
tetradic
#3A8520 #206D85 #6B2085 #853820
square
#3A8520 #206D85 #6B2085 #853820
split-complementary
#3A8520 #382085 #85206D
monochromatic
#0F2208 #245414 #3A8520 #50B62C #6FD44C

Accessibility & contrast

On white

4.61
#3A8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3A8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8520
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8520#FFFFFF#000000##FFFFFF
##3A85201.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#338072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8520;
/* rgb */ color: rgb(58, 133, 32);
/* oklch */ color: oklch(54.8% 0.153 139.1);
Tailwind
colors: {
  custom: {
    50: '#79a963',
    500: '#3a8520',
    950: '#000000',
  },
}
SCSS
$custom: #3a8520;
$custom-light: #79a963;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8520",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 104.554,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.15335,
    "h": 139.1
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#3A8520
secondary
#9B4AB7
accent
#43E4BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8520

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

Preview Lab → · Contrast checker → · Palette generator →

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