#3A8B17#3A8B17

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

Color values

HEX#3A8B17
RGBrgb(58, 139, 23)
HSLhsl(102, 72%, 32%)
HSVhsv(102, 83%, 55%)
CMYKcmyk(58.3%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.18, -44.94, 49.49)
CIE-LCHlch(51.18, 66.85, 132.24°)
OKLaboklab(56.43% -0.1241 0.1094)
OKLCHoklch(56.43% 0.165 138.6)
XYZxyz(11.1318, 19.4257, 3.9734)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8B17 #68178B
analogous
#748B17 #3A8B17 #178B2E
triadic
#3A8B17 #173A8B #8B173A
tetradic
#3A8B17 #17748B #68178B #8B2E17
square
#3A8B17 #17748B #68178B #8B2E17
split-complementary
#3A8B17 #2E178B #8B1774
monochromatic
#0E2206 #24560E #3A8B17 #50C020 #6EDF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8B17#FFFFFF#000000##000000
##3A8B171.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)
#857725
Tritanopia (blue-blind)
#328676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8b17;
/* rgb */ color: rgb(58, 139, 23);
/* oklch */ color: oklch(56.4% 0.165 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aae60',
    500: '#3a8b17',
    950: '#000000',
  },
}
SCSS
$custom: #3a8b17;
$custom-light: #7aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8b17",
  "rgb": {
    "r": 58,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 101.897,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.16543,
    "h": 138.6
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#3A8B17
secondary
#983FBF
accent
#39EEB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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