#3A831F#3A831F

#3A831F is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.151 H 138.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A831F
RGBrgb(58, 131, 31)
HSLhsl(104, 62%, 32%)
HSVhsv(104, 76%, 51%)
CMYKcmyk(55.7%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.55, -41.34, 44.31)
CIE-LCHlch(48.55, 60.60, 133.01°)
OKLaboklab(54.27% -0.114 0.0997)
OKLCHoklch(54.27% 0.151 138.8)
XYZxyz(10.1082, 17.2303, 4.0892)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A831F #681F83
analogous
#6C831F #3A831F #1F8336
triadic
#3A831F #1F3A83 #831F3A
tetradic
#3A831F #1F6C83 #681F83 #83361F
square
#3A831F #1F6C83 #681F83 #83361F
split-complementary
#3A831F #361F83 #831F6C
monochromatic
#0E2008 #245213 #3A831F #50B42B #6ED449

Accessibility & contrast

On white

4.72
#3A831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3A831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A831F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A831F#FFFFFF#000000##FFFFFF
##3A831F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#337E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a831f;
/* rgb */ color: rgb(58, 131, 31);
/* oklch */ color: oklch(54.3% 0.151 138.8);
Tailwind
colors: {
  custom: {
    50: '#78a862',
    500: '#3a831f',
    950: '#000000',
  },
}
SCSS
$custom: #3a831f;
$custom-light: #78a862;
$custom-dark: #000000;
JSON
{
  "hex": "#3a831f",
  "rgb": {
    "r": 58,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 103.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.15143,
    "h": 138.8
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#3A831F
secondary
#9848B6
accent
#43E5B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A831F

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

Preview Lab → · Contrast checker → · Palette generator →

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