#3A8218#3A8218

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

Color values

HEX#3A8218
RGBrgb(58, 130, 24)
HSLhsl(101, 69%, 30%)
HSVhsv(101, 82%, 51%)
CMYKcmyk(55.4%, 0%, 81.5%, 49%)
CIE-LABlab(48.17, -41.41, 46.39)
CIE-LCHlch(48.17, 62.18, 131.76°)
OKLaboklab(53.95% -0.1146 0.103)
OKLCHoklch(53.95% 0.154 138.1)
XYZxyz(9.8921, 16.9300, 3.6105)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8218 #601882
analogous
#6F8218 #3A8218 #18822B
triadic
#3A8218 #183A82 #82183A
tetradic
#3A8218 #186F82 #601882 #822B18
square
#3A8218 #186F82 #601882 #822B18
split-complementary
#3A8218 #2B1882 #82186F
monochromatic
#0C1B05 #234E0E #3A8218 #51B622 #6DDB3A

Accessibility & contrast

On white

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

On black

4.39
#3A8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A8218#FFFFFF#000000##FFFFFF
##3A82181.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8218;
/* rgb */ color: rgb(58, 130, 24);
/* oklch */ color: oklch(53.9% 0.154 138.1);
Tailwind
colors: {
  custom: {
    50: '#79a75f',
    500: '#3a8218',
    950: '#000000',
  },
}
SCSS
$custom: #3a8218;
$custom-light: #79a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8218",
  "rgb": {
    "r": 58,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 100.755,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.15407,
    "h": 138.1
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#3A8218
secondary
#9040B6
accent
#3CECB3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8218

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

Preview Lab → · Contrast checker → · Palette generator →

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