#3A8F17#3A8F17

#3A8F17 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.170 H 138.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A8F17
RGBrgb(58, 143, 23)
HSLhsl(103, 72%, 33%)
HSVhsv(103, 84%, 56%)
CMYKcmyk(59.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.51, -46.44, 50.71)
CIE-LCHlch(52.51, 68.77, 132.48°)
OKLaboklab(57.53% -0.1281 0.1119)
OKLCHoklch(57.53% 0.17 138.9)
XYZxyz(11.7216, 20.6053, 4.1700)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F17 #6C178F
analogous
#768F17 #3A8F17 #178F30
triadic
#3A8F17 #173A8F #8F173A
tetradic
#3A8F17 #17768F #6C178F #8F3017
square
#3A8F17 #17768F #6C178F #8F3017
split-complementary
#3A8F17 #30178F #8F1776
monochromatic
#0F2606 #255A0F #3A8F17 #4FC41F #6FE040

Accessibility & contrast

On white

4.10
#3A8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3A8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F17#FFFFFF#000000##000000
##3A8F171.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#318A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a8f17;
/* rgb */ color: rgb(58, 143, 23);
/* oklch */ color: oklch(57.5% 0.170 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bb160',
    500: '#3a8f17',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f17;
$custom-light: #7bb160;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f17",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 102.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.17014,
    "h": 138.9
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#3A8F17
secondary
#9B41C1
accent
#39EFBA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #3A8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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