#3A8420#3A8420

#3A8420 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.152 H 139.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A8420
RGBrgb(58, 132, 32)
HSLhsl(104, 61%, 32%)
HSVhsv(104, 76%, 52%)
CMYKcmyk(56.1%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.89, -41.66, 44.28)
CIE-LCHlch(48.89, 60.80, 133.25°)
OKLaboklab(54.56% -0.1148 0.0998)
OKLCHoklch(54.56% 0.152 139)
XYZxyz(10.2565, 17.5055, 4.2046)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8420 #6A2084
analogous
#6C8420 #3A8420 #208438
triadic
#3A8420 #203A84 #84203A
tetradic
#3A8420 #206C84 #6A2084 #843820
square
#3A8420 #206C84 #6A2084 #843820
split-complementary
#3A8420 #382084 #84206C
monochromatic
#0F2108 #245314 #3A8420 #50B52C #6ED34B

Accessibility & contrast

On white

4.67
#3A8420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3A8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8420
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8420#FFFFFF#000000##FFFFFF
##3A84201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#337F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8420;
/* rgb */ color: rgb(58, 132, 32);
/* oklch */ color: oklch(54.6% 0.152 139.0);
Tailwind
colors: {
  custom: {
    50: '#79a863',
    500: '#3a8420',
    950: '#000000',
  },
}
SCSS
$custom: #3a8420;
$custom-light: #79a863;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8420",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 104.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.15208,
    "h": 139
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#3A8420
secondary
#9A4AB6
accent
#44E4BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8420

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

Preview Lab → · Contrast checker → · Palette generator →

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