#3A871E#3A871E

#3A871E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.157 H 139.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3A871E
RGBrgb(58, 135, 30)
HSLhsl(104, 64%, 32%)
HSVhsv(104, 78%, 53%)
CMYKcmyk(57%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.88, -42.98, 46.00)
CIE-LCHlch(49.88, 62.95, 133.06°)
OKLaboklab(55.37% -0.1184 0.1031)
OKLCHoklch(55.37% 0.157 139)
XYZxyz(10.6428, 18.3203, 4.2034)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A871E #6B1E87
analogous
#6F871E #3A871E #1E8737
triadic
#3A871E #1E3A87 #871E3A
tetradic
#3A871E #1E6F87 #6B1E87 #87371E
square
#3A871E #1E6F87 #6B1E87 #87371E
split-complementary
#3A871E #371E87 #871E6F
monochromatic
#0F2308 #245513 #3A871E #50B929 #6FD749

Accessibility & contrast

On white

4.50
#3A871E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3A871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A871E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A871E#FFFFFF#000000##000000
##3A871E1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#328273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a871e;
/* rgb */ color: rgb(58, 135, 30);
/* oklch */ color: oklch(55.4% 0.157 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ab62',
    500: '#3a871e',
    950: '#000000',
  },
}
SCSS
$custom: #3a871e;
$custom-light: #79ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a871e",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 104,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.15702,
    "h": 139
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#3A871E
secondary
#9B48B9
accent
#41E7BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A871E

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

Preview Lab → · Contrast checker → · Palette generator →

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