#3A841A#3A841A

#3A841A is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.156 H 138.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A841A
RGBrgb(58, 132, 26)
HSLhsl(102, 67%, 31%)
HSVhsv(102, 80%, 52%)
CMYKcmyk(56.1%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.85, -42.07, 46.38)
CIE-LCHlch(48.85, 62.62, 132.21°)
OKLaboklab(54.52% -0.1163 0.1033)
OKLCHoklch(54.52% 0.156 138.4)
XYZxyz(10.1823, 17.4758, 3.8137)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A841A #641A84
analogous
#6F841A #3A841A #1A842F
triadic
#3A841A #1A3A84 #841A3A
tetradic
#3A841A #1A6F84 #641A84 #842F1A
square
#3A841A #1A6F84 #641A84 #842F1A
split-complementary
#3A841A #2F1A84 #841A6F
monochromatic
#0D1E06 #245110 #3A841A #50B724 #6ED93F

Accessibility & contrast

On white

4.67
#3A841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3A841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A841A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A841A#FFFFFF#000000##FFFFFF
##3A841A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#337F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a841a;
/* rgb */ color: rgb(58, 132, 26);
/* oklch */ color: oklch(54.5% 0.156 138.4);
Tailwind
colors: {
  custom: {
    50: '#79a860',
    500: '#3a841a',
    950: '#000000',
  },
}
SCSS
$custom: #3a841a;
$custom-light: #79a860;
$custom-dark: #000000;
JSON
{
  "hex": "#3a841a",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 101.887,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.15551,
    "h": 138.4
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#3A841A
secondary
#9442B8
accent
#3EEAB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A841A

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

Preview Lab → · Contrast checker → · Palette generator →

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