#3A8117#3A8117

#3A8117 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.153 H 137.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8117
RGBrgb(58, 129, 23)
HSLhsl(100, 70%, 30%)
HSVhsv(100, 82%, 51%)
CMYKcmyk(55%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.83, -41.08, 46.38)
CIE-LCHlch(47.83, 61.96, 131.53°)
OKLaboklab(53.67% -0.1137 0.1028)
OKLCHoklch(53.67% 0.153 137.9)
XYZxyz(9.7495, 16.6612, 3.5126)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8117 #5E1781
analogous
#6F8117 #3A8117 #178129
triadic
#3A8117 #173A81 #81173A
tetradic
#3A8117 #176F81 #5E1781 #812917
square
#3A8117 #176F81 #5E1781 #812917
split-complementary
#3A8117 #291781 #81176F
monochromatic
#0C1A05 #234D0E #3A8117 #51B520 #6DDB37

Accessibility & contrast

On white

4.85
#3A8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8117
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8117#FFFFFF#000000##FFFFFF
##3A81171.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#347C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8117;
/* rgb */ color: rgb(58, 129, 23);
/* oklch */ color: oklch(53.7% 0.153 137.9);
Tailwind
colors: {
  custom: {
    50: '#79a65e',
    500: '#3a8117',
    950: '#000000',
  },
}
SCSS
$custom: #3a8117;
$custom-light: #79a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8117",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 100.189,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.15334,
    "h": 137.9
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#3A8117
secondary
#8E3EB5
accent
#3BEDB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8117

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

Preview Lab → · Contrast checker → · Palette generator →

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