#3A8915#3A8915

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

Color values

HEX#3A8915
RGBrgb(58, 137, 21)
HSLhsl(101, 73%, 31%)
HSVhsv(101, 85%, 54%)
CMYKcmyk(57.7%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.50, -44.29, 49.44)
CIE-LCHlch(50.50, 66.38, 131.85°)
OKLaboklab(55.87% -0.1225 0.1089)
OKLCHoklch(55.87% 0.164 138.3)
XYZxyz(10.8255, 18.8441, 3.7761)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8915 #641589
analogous
#748915 #3A8915 #15892A
triadic
#3A8915 #153A89 #89153A
tetradic
#3A8915 #157489 #641589 #892A15
square
#3A8915 #157489 #641589 #892A15
split-complementary
#3A8915 #2A1589 #891574
monochromatic
#0D1F05 #24540D #3A8915 #50BE1D #6EE038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8915#FFFFFF#000000##000000
##3A89151.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)
#847624
Tritanopia (blue-blind)
#338474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8915;
/* rgb */ color: rgb(58, 137, 21);
/* oklch */ color: oklch(55.9% 0.164 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aac5e',
    500: '#3a8915',
    950: '#000000',
  },
}
SCSS
$custom: #3a8915;
$custom-light: #7aac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8915",
  "rgb": {
    "r": 58,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 100.862,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.16391,
    "h": 138.3
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#3A8915
secondary
#943DBD
accent
#38F0B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8915

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

Preview Lab → · Contrast checker → · Palette generator →

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