#3A871D#3A871D

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

Color values

HEX#3A871D
RGBrgb(58, 135, 29)
HSLhsl(104, 65%, 32%)
HSVhsv(104, 79%, 53%)
CMYKcmyk(57%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.88, -43.05, 46.34)
CIE-LCHlch(49.88, 63.25, 132.89°)
OKLaboklab(55.36% -0.1187 0.1037)
OKLCHoklch(55.36% 0.158 138.9)
XYZxyz(10.6302, 18.3153, 4.1372)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A871D #6A1D87
analogous
#6F871D #3A871D #1D8735
triadic
#3A871D #1D3A87 #871D3A
tetradic
#3A871D #1D6F87 #6A1D87 #87351D
square
#3A871D #1D6F87 #6A1D87 #87351D
split-complementary
#3A871D #351D87 #871D6F
monochromatic
#0F2207 #245512 #3A871D #50B928 #6ED747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A871D#FFFFFF#000000##000000
##3A871D1.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)
#8B7B04
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#328273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a871d;
/* rgb */ color: rgb(58, 135, 29);
/* oklch */ color: oklch(55.4% 0.158 138.9);
Tailwind
colors: {
  custom: {
    50: '#79ab62',
    500: '#3a871d',
    950: '#000000',
  },
}
SCSS
$custom: #3a871d;
$custom-light: #79ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a871d",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 103.585,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.15759,
    "h": 138.9
  },
  "luminance": 0.18316
}

Semantic roles & 50–950 ramp

primary
#3A871D
secondary
#9A46B9
accent
#40E8BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A871D

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

Preview Lab → · Contrast checker → · Palette generator →

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