#3A8516#3A8516

#3A8516 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.159 H 138.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A8516
RGBrgb(58, 133, 22)
HSLhsl(101, 72%, 30%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(56.4%, 0%, 83.5%, 47.8%)
CIE-LABlab(49.17, -42.70, 47.93)
CIE-LCHlch(49.17, 64.19, 131.70°)
OKLaboklab(54.77% -0.1182 0.1059)
OKLCHoklch(54.77% 0.159 138.1)
XYZxyz(10.2769, 17.7317, 3.6399)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8516 #611685
analogous
#718516 #3A8516 #16852A
triadic
#3A8516 #163A85 #85163A
tetradic
#3A8516 #167185 #611685 #852A16
square
#3A8516 #167185 #611685 #852A16
split-complementary
#3A8516 #2A1685 #851671
monochromatic
#0C1C05 #23500D #3A8516 #51BA1F #6DDE37

Accessibility & contrast

On white

4.62
#3A8516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3A8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8516
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8516#FFFFFF#000000##FFFFFF
##3A85161.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#338071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8516;
/* rgb */ color: rgb(58, 133, 22);
/* oklch */ color: oklch(54.8% 0.159 138.1);
Tailwind
colors: {
  custom: {
    50: '#79a95e',
    500: '#3a8516',
    950: '#000000',
  },
}
SCSS
$custom: #3a8516;
$custom-light: #79a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8516",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 100.541,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.15869,
    "h": 138.1
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#3A8516
secondary
#913EB9
accent
#39EEB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8516

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

Preview Lab → · Contrast checker → · Palette generator →

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