#3A8A17#3A8A17

#3A8A17 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#3A8A17
RGBrgb(58, 138, 23)
HSLhsl(102, 71%, 32%)
HSVhsv(102, 83%, 54%)
CMYKcmyk(58%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.85, -44.57, 49.18)
CIE-LCHlch(50.85, 66.37, 132.18°)
OKLaboklab(56.16% -0.1231 0.1087)
OKLCHoklch(56.16% 0.164 138.6)
XYZxyz(10.9876, 19.1374, 3.9253)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A17 #67178A
analogous
#748A17 #3A8A17 #178A2E
triadic
#3A8A17 #173A8A #8A173A
tetradic
#3A8A17 #17748A #67178A #8A2E17
square
#3A8A17 #17748A #67178A #8A2E17
split-complementary
#3A8A17 #2E178A #8A1774
monochromatic
#0E2106 #24560E #3A8A17 #50BE20 #6EDF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A17#FFFFFF#000000##000000
##3A8A171.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)
#847725
Tritanopia (blue-blind)
#328575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a17;
/* rgb */ color: rgb(58, 138, 23);
/* oklch */ color: oklch(56.2% 0.164 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aad5f',
    500: '#3a8a17',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a17;
$custom-light: #7aad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a17",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 101.739,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.16423,
    "h": 138.6
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#3A8A17
secondary
#973FBE
accent
#3AEEB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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