#3A8918#3A8918

#3A8918 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.163 H 138.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A8918
RGBrgb(58, 137, 24)
HSLhsl(102, 70%, 32%)
HSVhsv(102, 82%, 54%)
CMYKcmyk(57.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.52, -44.13, 48.58)
CIE-LCHlch(50.52, 65.63, 132.25°)
OKLaboklab(55.89% -0.1219 0.1076)
OKLCHoklch(55.89% 0.163 138.6)
XYZxyz(10.8550, 18.8559, 3.9315)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8918 #671889
analogous
#738918 #3A8918 #18892F
triadic
#3A8918 #183A89 #89183A
tetradic
#3A8918 #187389 #671889 #892F18
square
#3A8918 #187389 #671889 #892F18
split-complementary
#3A8918 #2F1889 #891873
monochromatic
#0E2106 #24550F #3A8918 #50BD21 #6EDD3E

Accessibility & contrast

On white

4.40
#3A8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8918
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8918#FFFFFF#000000##000000
##3A89181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#328474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8918;
/* rgb */ color: rgb(58, 137, 24);
/* oklch */ color: oklch(55.9% 0.163 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aac60',
    500: '#3a8918',
    950: '#000000',
  },
}
SCSS
$custom: #3a8918;
$custom-light: #7aac60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8918",
  "rgb": {
    "r": 58,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 101.947,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.16258,
    "h": 138.6
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#3A8918
secondary
#9740BD
accent
#3BEDB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8918

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

Preview Lab → · Contrast checker → · Palette generator →

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