#3A8A18#3A8A18

#3A8A18 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.164 H 138.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A8A18
RGBrgb(58, 138, 24)
HSLhsl(102, 70%, 32%)
HSVhsv(102, 83%, 54%)
CMYKcmyk(58%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.85, -44.51, 48.89)
CIE-LCHlch(50.85, 66.12, 132.31°)
OKLaboklab(56.16% -0.1229 0.1082)
OKLCHoklch(56.16% 0.164 138.6)
XYZxyz(10.9978, 19.1415, 3.9791)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A18 #68188A
analogous
#738A18 #3A8A18 #188A2F
triadic
#3A8A18 #183A8A #8A183A
tetradic
#3A8A18 #18738A #68188A #8A2F18
square
#3A8A18 #18738A #68188A #8A2F18
split-complementary
#3A8A18 #2F188A #8A1873
monochromatic
#0E2206 #24560F #3A8A18 #50BE21 #6EDE3F

Accessibility & contrast

On white

4.35
#3A8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3A8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A18#FFFFFF#000000##000000
##3A8A181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#328575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a18;
/* rgb */ color: rgb(58, 138, 24);
/* oklch */ color: oklch(56.2% 0.164 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aad60',
    500: '#3a8a18',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a18;
$custom-light: #7aad60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a18",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 102.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.16378,
    "h": 138.6
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#3A8A18
secondary
#9840BD
accent
#3BEDB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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