#3A8517#3A8517

#3A8517 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.158 H 138.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A8517
RGBrgb(58, 133, 23)
HSLhsl(101, 71%, 31%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(56.4%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.17, -42.64, 47.64)
CIE-LCHlch(49.17, 63.94, 131.84°)
OKLaboklab(54.78% -0.118 0.1055)
OKLCHoklch(54.78% 0.158 138.2)
XYZxyz(10.2867, 17.7356, 3.6917)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8517 #621785
analogous
#718517 #3A8517 #17852B
triadic
#3A8517 #173A85 #85173A
tetradic
#3A8517 #177185 #621785 #852B17
square
#3A8517 #177185 #621785 #852B17
split-complementary
#3A8517 #2B1785 #851771
monochromatic
#0C1D05 #23510E #3A8517 #51B920 #6EDD3A

Accessibility & contrast

On white

4.62
#3A8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3A8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8517
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8517#FFFFFF#000000##FFFFFF
##3A85171.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#338071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8517;
/* rgb */ color: rgb(58, 133, 23);
/* oklch */ color: oklch(54.8% 0.158 138.2);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#3a8517',
    950: '#000000',
  },
}
SCSS
$custom: #3a8517;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8517",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 100.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.15823,
    "h": 138.2
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#3A8517
secondary
#923FB9
accent
#3BEDB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8517

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

Preview Lab → · Contrast checker → · Palette generator →

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