#3A8917#3A8917

#3A8917 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.163 H 138.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A8917
RGBrgb(58, 137, 23)
HSLhsl(102, 71%, 31%)
HSVhsv(102, 83%, 54%)
CMYKcmyk(57.7%, 0%, 83.2%, 46.3%)
CIE-LABlab(50.51, -44.18, 48.88)
CIE-LCHlch(50.51, 65.89, 132.11°)
OKLaboklab(55.88% -0.1221 0.1081)
OKLCHoklch(55.88% 0.163 138.5)
XYZxyz(10.8448, 18.8518, 3.8777)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8917 #661789
analogous
#738917 #3A8917 #17892D
triadic
#3A8917 #173A89 #89173A
tetradic
#3A8917 #177389 #661789 #892D17
square
#3A8917 #177389 #661789 #892D17
split-complementary
#3A8917 #2D1789 #891773
monochromatic
#0E2005 #24550E #3A8917 #50BD20 #6EDE3C

Accessibility & contrast

On white

4.40
#3A8917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A8917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8917
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8917#FFFFFF#000000##000000
##3A89171.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#328474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8917;
/* rgb */ color: rgb(58, 137, 23);
/* oklch */ color: oklch(55.9% 0.163 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aac5f',
    500: '#3a8917',
    950: '#000000',
  },
}
SCSS
$custom: #3a8917;
$custom-light: #7aac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8917",
  "rgb": {
    "r": 58,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 101.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.16304,
    "h": 138.5
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

primary
#3A8917
secondary
#963FBD
accent
#3AEEB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8917

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

Preview Lab → · Contrast checker → · Palette generator →

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