#3A8D17#3A8D17

#3A8D17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.168 H 138.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A8D17
RGBrgb(58, 141, 23)
HSLhsl(102, 72%, 32%)
HSVhsv(102, 84%, 55%)
CMYKcmyk(58.9%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.85, -45.70, 50.10)
CIE-LCHlch(51.85, 67.81, 132.37°)
OKLaboklab(56.98% -0.1262 0.1106)
OKLCHoklch(56.98% 0.168 138.8)
XYZxyz(11.4240, 20.0102, 4.0708)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D17 #6A178D
analogous
#758D17 #3A8D17 #178D2F
triadic
#3A8D17 #173A8D #8D173A
tetradic
#3A8D17 #17758D #6A178D #8D2F17
square
#3A8D17 #17758D #6A178D #8D2F17
split-complementary
#3A8D17 #2F178D #8D1775
monochromatic
#0F2406 #24580E #3A8D17 #50C220 #6EE03F

Accessibility & contrast

On white

4.20
#3A8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D17
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D17#FFFFFF#000000##000000
##3A8D171.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#318878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d17;
/* rgb */ color: rgb(58, 141, 23);
/* oklch */ color: oklch(57.0% 0.168 138.8);
Tailwind
colors: {
  custom: {
    50: '#7baf60',
    500: '#3a8d17',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d17;
$custom-light: #7baf60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d17",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 102.203,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.16779,
    "h": 138.8
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#3A8D17
secondary
#9A40C0
accent
#39EFB9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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