#3A8D1F#3A8D1F

#3A8D1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.164 H 139.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A8D1F
RGBrgb(58, 141, 31)
HSLhsl(105, 64%, 34%)
HSVhsv(105, 78%, 55%)
CMYKcmyk(58.9%, 0%, 78%, 44.7%)
CIE-LABlab(51.89, -45.21, 47.61)
CIE-LCHlch(51.89, 65.65, 133.52°)
OKLaboklab(57.03% -0.1244 0.1066)
OKLCHoklch(57.03% 0.164 139.4)
XYZxyz(11.5166, 20.0472, 4.5587)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D1F #721F8D
analogous
#718D1F #3A8D1F #1F8D3B
triadic
#3A8D1F #1F3A8D #8D1F3A
tetradic
#3A8D1F #1F718D #721F8D #8D3B1F
square
#3A8D1F #1F718D #721F8D #8D3B1F
split-complementary
#3A8D1F #3B1F8D #8D1F71
monochromatic
#112909 #255B14 #3A8D1F #4FBF2A #70D84E

Accessibility & contrast

On white

4.19
#3A8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3A8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D1F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D1F#FFFFFF#000000##000000
##3A8D1F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#318878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d1f;
/* rgb */ color: rgb(58, 141, 31);
/* oklch */ color: oklch(57.0% 0.164 139.4);
Tailwind
colors: {
  custom: {
    50: '#7aaf63',
    500: '#3a8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d1f;
$custom-light: #7aaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d1f",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 105.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.16383,
    "h": 139.4
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#3A8D1F
secondary
#A04DBB
accent
#41E7BE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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