#3A9017#3A9017

#3A9017 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.171 H 138.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A9017
RGBrgb(58, 144, 23)
HSLhsl(103, 72%, 33%)
HSVhsv(103, 84%, 56%)
CMYKcmyk(59.7%, 0%, 84%, 43.5%)
CIE-LABlab(52.85, -46.82, 51.02)
CIE-LCHlch(52.85, 69.24, 132.54°)
OKLaboklab(57.81% -0.1291 0.1126)
OKLCHoklch(57.81% 0.171 138.9)
XYZxyz(11.8724, 20.9069, 4.2202)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9017 #6D1790
analogous
#769017 #3A9017 #179031
triadic
#3A9017 #173A90 #90173A
tetradic
#3A9017 #177690 #6D1790 #903117
square
#3A9017 #177690 #6D1790 #903117
split-complementary
#3A9017 #311790 #901776
monochromatic
#0F2606 #255B0F #3A9017 #4FC51F #6FE141

Accessibility & contrast

On white

4.05
#3A9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3A9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9017
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9017#FFFFFF#000000##000000
##3A90171.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#318B7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a9017;
/* rgb */ color: rgb(58, 144, 23);
/* oklch */ color: oklch(57.8% 0.171 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bb160',
    500: '#3a9017',
    950: '#000000',
  },
}
SCSS
$custom: #3a9017;
$custom-light: #7bb160;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9017",
  "rgb": {
    "r": 58,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 102.645,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.17131,
    "h": 138.9
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#3A9017
secondary
#9C42C1
accent
#39EFBA
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #3A9017

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

Preview Lab → · Contrast checker → · Palette generator →

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