#3A8B18#3A8B18

#3A8B18 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.165 H 138.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A8B18
RGBrgb(58, 139, 24)
HSLhsl(102, 71%, 32%)
HSVhsv(102, 83%, 55%)
CMYKcmyk(58.3%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.19, -44.89, 49.20)
CIE-LCHlch(51.19, 66.60, 132.38°)
OKLaboklab(56.44% -0.1239 0.1089)
OKLCHoklch(56.44% 0.165 138.7)
XYZxyz(11.1420, 19.4298, 4.0272)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8B18 #69188B
analogous
#748B18 #3A8B18 #188B30
triadic
#3A8B18 #183A8B #8B183A
tetradic
#3A8B18 #18748B #69188B #8B3018
square
#3A8B18 #18748B #69188B #8B3018
split-complementary
#3A8B18 #30188B #8B1874
monochromatic
#0E2306 #24570F #3A8B18 #50BF21 #6EDE3F

Accessibility & contrast

On white

4.30
#3A8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3A8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8B18
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8B18#FFFFFF#000000##000000
##3A8B181.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#328676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8b18;
/* rgb */ color: rgb(58, 139, 24);
/* oklch */ color: oklch(56.4% 0.165 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aae60',
    500: '#3a8b18',
    950: '#000000',
  },
}
SCSS
$custom: #3a8b18;
$custom-light: #7aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8b18",
  "rgb": {
    "r": 58,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 102.261,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.16497,
    "h": 138.7
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#3A8B18
secondary
#9940BE
accent
#3AEDB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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