#3A8220#3A8220

#3A8220 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.150 H 138.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A8220
RGBrgb(58, 130, 32)
HSLhsl(104, 60%, 32%)
HSVhsv(104, 75%, 51%)
CMYKcmyk(55.4%, 0%, 75.4%, 49%)
CIE-LABlab(48.22, -40.86, 43.61)
CIE-LCHlch(48.22, 59.76, 133.14°)
OKLaboklab(54.01% -0.1126 0.0984)
OKLCHoklch(54.01% 0.15 138.9)
XYZxyz(9.9879, 16.9683, 4.1151)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8220 #682082
analogous
#6B8220 #3A8220 #208237
triadic
#3A8220 #203A82 #82203A
tetradic
#3A8220 #206B82 #682082 #823720
square
#3A8220 #206B82 #682082 #823720
split-complementary
#3A8220 #372082 #82206B
monochromatic
#0E2008 #245114 #3A8220 #50B32C #6ED24A

Accessibility & contrast

On white

4.78
#3A8220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A8220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8220
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8220#FFFFFF#000000##FFFFFF
##3A82201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#337D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a8220;
/* rgb */ color: rgb(58, 130, 32);
/* oklch */ color: oklch(54.0% 0.150 138.9);
Tailwind
colors: {
  custom: {
    50: '#78a762',
    500: '#3a8220',
    950: '#000000',
  },
}
SCSS
$custom: #3a8220;
$custom-light: #78a762;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8220",
  "rgb": {
    "r": 58,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 104.082,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.14955,
    "h": 138.9
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#3A8220
secondary
#9849B5
accent
#44E4B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3A8220

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

Preview Lab → · Contrast checker → · Palette generator →

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