#3A871A#3A871A

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

Color values

HEX#3A871A
RGBrgb(58, 135, 26)
HSLhsl(102, 68%, 32%)
HSVhsv(102, 81%, 53%)
CMYKcmyk(57%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.86, -43.24, 47.34)
CIE-LCHlch(49.86, 64.11, 132.41°)
OKLaboklab(55.35% -0.1194 0.1053)
OKLCHoklch(55.35% 0.159 138.6)
XYZxyz(10.5949, 18.3012, 3.9512)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A871A #671A87
analogous
#71871A #3A871A #1A8730
triadic
#3A871A #1A3A87 #871A3A
tetradic
#3A871A #1A7187 #671A87 #87301A
square
#3A871A #1A7187 #671A87 #87301A
split-complementary
#3A871A #301A87 #871A71
monochromatic
#0E2006 #245410 #3A871A #50BA24 #6EDA41

Accessibility & contrast

On white

4.51
#3A871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A871A#FFFFFF#000000##000000
##3A871A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#338273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a871a;
/* rgb */ color: rgb(58, 135, 26);
/* oklch */ color: oklch(55.3% 0.159 138.6);
Tailwind
colors: {
  custom: {
    50: '#79ab60',
    500: '#3a871a',
    950: '#000000',
  },
}
SCSS
$custom: #3a871a;
$custom-light: #79ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a871a",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 102.385,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.15919,
    "h": 138.6
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#3A871A
secondary
#9742BA
accent
#3DEBB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A871A

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

Preview Lab → · Contrast checker → · Palette generator →

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