#3A8416#3A8416

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

Color values

HEX#3A8416
RGBrgb(58, 132, 22)
HSLhsl(100, 71%, 30%)
HSVhsv(100, 83%, 52%)
CMYKcmyk(56.1%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.83, -42.31, 47.62)
CIE-LCHlch(48.83, 63.70, 131.62°)
OKLaboklab(54.49% -0.1171 0.1053)
OKLCHoklch(54.49% 0.157 138)
XYZxyz(10.1406, 17.4592, 3.5945)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8416 #601684
analogous
#718416 #3A8416 #168429
triadic
#3A8416 #163A84 #84163A
tetradic
#3A8416 #167184 #601684 #842916
square
#3A8416 #167184 #601684 #842916
split-complementary
#3A8416 #291684 #841671
monochromatic
#0C1B05 #23500D #3A8416 #51B81F #6DDE37

Accessibility & contrast

On white

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

On black

4.49
#3A8416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A8416#FFFFFF#000000##FFFFFF
##3A84161.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8416;
/* rgb */ color: rgb(58, 132, 22);
/* oklch */ color: oklch(54.5% 0.157 138.0);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#3a8416',
    950: '#000000',
  },
}
SCSS
$custom: #3a8416;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8416",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 100.364,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.15748,
    "h": 138
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#3A8416
secondary
#903DB8
accent
#3AEEB3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8416

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

Preview Lab → · Contrast checker → · Palette generator →

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