#3A8017#3A8017

#3A8017 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.152 H 137.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8017
RGBrgb(58, 128, 23)
HSLhsl(100, 70%, 30%)
HSVhsv(100, 82%, 50%)
CMYKcmyk(54.7%, 0%, 82%, 49.8%)
CIE-LABlab(47.49, -40.68, 46.07)
CIE-LCHlch(47.49, 61.46, 131.44°)
OKLaboklab(53.39% -0.1127 0.1022)
OKLCHoklch(53.39% 0.152 137.8)
XYZxyz(9.6184, 16.3990, 3.4689)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8017 #5D1780
analogous
#6F8017 #3A8017 #178029
triadic
#3A8017 #173A80 #80173A
tetradic
#3A8017 #176F80 #5D1780 #802917
square
#3A8017 #176F80 #5D1780 #802917
split-complementary
#3A8017 #291780 #80176F
monochromatic
#0C1A05 #224C0E #3A8017 #52B420 #6DDB36

Accessibility & contrast

On white

4.91
#3A8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8017
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8017#FFFFFF#000000##FFFFFF
##3A80171.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#357B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8017;
/* rgb */ color: rgb(58, 128, 23);
/* oklch */ color: oklch(53.4% 0.152 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#3a8017',
    950: '#000000',
  },
}
SCSS
$custom: #3a8017;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8017",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.1521,
    "h": 137.8
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#3A8017
secondary
#8D3EB4
accent
#3BECB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8017

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

Preview Lab → · Contrast checker → · Palette generator →

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