#3A9517#3A9517

#3A9517 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.177 H 139.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3A9517
RGBrgb(58, 149, 23)
HSLhsl(103, 73%, 34%)
HSVhsv(103, 85%, 58%)
CMYKcmyk(61.1%, 0%, 84.6%, 41.6%)
CIE-LABlab(54.51, -48.65, 52.53)
CIE-LCHlch(54.51, 71.59, 132.81°)
OKLaboklab(59.18% -0.1341 0.1157)
OKLCHoklch(59.18% 0.177 139.2)
XYZxyz(12.6465, 22.4551, 4.4783)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9517 #721795
analogous
#799517 #3A9517 #179533
triadic
#3A9517 #173A95 #95173A
tetradic
#3A9517 #177995 #721795 #953317
square
#3A9517 #177995 #721795 #953317
split-complementary
#3A9517 #331795 #951779
monochromatic
#112B07 #25600F #3A9517 #4FCA1F #70E244

Accessibility & contrast

On white

3.82
#3A9517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#3A9517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9517
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9517#FFFFFF#000000##000000
##3A95171.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8E8027
Tritanopia (blue-blind)
#2F907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a9517;
/* rgb */ color: rgb(58, 149, 23);
/* oklch */ color: oklch(59.2% 0.177 139.2);
Tailwind
colors: {
  custom: {
    50: '#7cb561',
    500: '#3a9517',
    950: '#000000',
  },
}
SCSS
$custom: #3a9517;
$custom-light: #7cb561;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9517",
  "rgb": {
    "r": 58,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 103.333,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.1771,
    "h": 139.2
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#3A9517
secondary
#A045C3
accent
#38F0BD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #3A9517

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

Preview Lab → · Contrast checker → · Palette generator →

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