#3A8820#3A8820

#3A8820 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.157 H 139.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A8820
RGBrgb(58, 136, 32)
HSLhsl(105, 62%, 33%)
HSVhsv(105, 76%, 53%)
CMYKcmyk(57.4%, 0%, 76.5%, 46.7%)
CIE-LABlab(50.23, -43.22, 45.61)
CIE-LCHlch(50.23, 62.84, 133.46°)
OKLaboklab(55.66% -0.119 0.1026)
OKLCHoklch(55.66% 0.157 139.2)
XYZxyz(10.8094, 18.6112, 4.3889)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8820 #6E2088
analogous
#6E8820 #3A8820 #20883A
triadic
#3A8820 #203A88 #88203A
tetradic
#3A8820 #206E88 #6E2088 #883A20
square
#3A8820 #206E88 #6E2088 #883A20
split-complementary
#3A8820 #3A2088 #88206E
monochromatic
#102509 #255614 #3A8820 #4FBA2C #6FD54D

Accessibility & contrast

On white

4.45
#3A8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8820
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8820#FFFFFF#000000##000000
##3A88201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#328374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a8820;
/* rgb */ color: rgb(58, 136, 32);
/* oklch */ color: oklch(55.7% 0.157 139.2);
Tailwind
colors: {
  custom: {
    50: '#79ab63',
    500: '#3a8820',
    950: '#000000',
  },
}
SCSS
$custom: #3a8820;
$custom-light: #79ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8820",
  "rgb": {
    "r": 58,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 105,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.1571,
    "h": 139.2
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#3A8820
secondary
#9D4CB8
accent
#43E5BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8820

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

Preview Lab → · Contrast checker → · Palette generator →

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