#3A8617#3A8617

#3A8617 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.159 H 138.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3A8617
RGBrgb(58, 134, 23)
HSLhsl(101, 71%, 31%)
HSVhsv(101, 83%, 53%)
CMYKcmyk(56.7%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.51, -43.03, 47.95)
CIE-LCHlch(49.51, 64.43, 131.91°)
OKLaboklab(55.05% -0.119 0.1061)
OKLCHoklch(55.05% 0.159 138.3)
XYZxyz(10.4243, 18.0107, 3.7375)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8617 #631786
analogous
#718617 #3A8617 #17862B
triadic
#3A8617 #173A86 #86173A
tetradic
#3A8617 #177186 #631786 #862B17
square
#3A8617 #177186 #631786 #862B17
split-complementary
#3A8617 #2B1786 #861771
monochromatic
#0D1E05 #23520E #3A8617 #51BA20 #6EDD3A

Accessibility & contrast

On white

4.56
#3A8617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#3A8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8617
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8617#FFFFFF#000000##000000
##3A86171.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#338172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a8617;
/* rgb */ color: rgb(58, 134, 23);
/* oklch */ color: oklch(55.1% 0.159 138.3);
Tailwind
colors: {
  custom: {
    50: '#79aa5f',
    500: '#3a8617',
    950: '#000000',
  },
}
SCSS
$custom: #3a8617;
$custom-light: #79aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8617",
  "rgb": {
    "r": 58,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 101.081,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.15944,
    "h": 138.3
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#3A8617
secondary
#933FBA
accent
#3AEDB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8617

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

Preview Lab → · Contrast checker → · Palette generator →

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