#3A8216#3A8216

#3A8216 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.155 H 137.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A8216
RGBrgb(58, 130, 22)
HSLhsl(100, 71%, 30%)
HSVhsv(100, 83%, 51%)
CMYKcmyk(55.4%, 0%, 83.1%, 49%)
CIE-LABlab(48.16, -41.53, 47.00)
CIE-LCHlch(48.16, 62.72, 131.46°)
OKLaboklab(53.94% -0.115 0.104)
OKLCHoklch(53.94% 0.155 137.9)
XYZxyz(9.8720, 16.9220, 3.5050)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8216 #5E1682
analogous
#708216 #3A8216 #168228
triadic
#3A8216 #163A82 #82163A
tetradic
#3A8216 #167082 #5E1682 #822816
square
#3A8216 #167082 #5E1682 #822816
split-complementary
#3A8216 #281682 #821670
monochromatic
#0C1A04 #234E0D #3A8216 #51B61F #6DDD35

Accessibility & contrast

On white

4.79
#3A8216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3A8216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8216
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8216#FFFFFF#000000##FFFFFF
##3A82161.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#347D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a8216;
/* rgb */ color: rgb(58, 130, 22);
/* oklch */ color: oklch(53.9% 0.155 137.9);
Tailwind
colors: {
  custom: {
    50: '#79a75e',
    500: '#3a8216',
    950: '#000000',
  },
}
SCSS
$custom: #3a8216;
$custom-light: #79a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8216",
  "rgb": {
    "r": 58,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 100,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.15505,
    "h": 137.9
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#3A8216
secondary
#8E3DB7
accent
#3AEEB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8216

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

Preview Lab → · Contrast checker → · Palette generator →

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