#3A841F#3A841F

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

Color values

HEX#3A841F
RGBrgb(58, 132, 31)
HSLhsl(104, 62%, 32%)
HSVhsv(104, 77%, 52%)
CMYKcmyk(56.1%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.88, -41.73, 44.65)
CIE-LCHlch(48.88, 61.12, 133.07°)
OKLaboklab(54.55% -0.115 0.1004)
OKLCHoklch(54.55% 0.153 138.9)
XYZxyz(10.2431, 17.5002, 4.1342)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A841F #691F84
analogous
#6D841F #3A841F #1F8436
triadic
#3A841F #1F3A84 #841F3A
tetradic
#3A841F #1F6D84 #691F84 #84361F
square
#3A841F #1F6D84 #691F84 #84361F
split-complementary
#3A841F #361F84 #841F6D
monochromatic
#0E2108 #245213 #3A841F #50B62B #6ED449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A841F#FFFFFF#000000##FFFFFF
##3A841F1.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)
#88780A
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#337F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a841f;
/* rgb */ color: rgb(58, 132, 31);
/* oklch */ color: oklch(54.6% 0.153 138.9);
Tailwind
colors: {
  custom: {
    50: '#79a862',
    500: '#3a841f',
    950: '#000000',
  },
}
SCSS
$custom: #3a841f;
$custom-light: #79a862;
$custom-dark: #000000;
JSON
{
  "hex": "#3a841f",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 103.96,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.1527,
    "h": 138.9
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#3A841F
secondary
#9948B7
accent
#43E5BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A841F

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

Preview Lab → · Contrast checker → · Palette generator →

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