#3A8415#3A8415

#3A8415 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.158 H 138.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A8415
RGBrgb(58, 132, 21)
HSLhsl(100, 73%, 30%)
HSVhsv(100, 84%, 52%)
CMYKcmyk(56.1%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.83, -42.36, 47.91)
CIE-LCHlch(48.83, 63.96, 131.48°)
OKLaboklab(54.49% -0.1173 0.1057)
OKLCHoklch(54.49% 0.158 138)
XYZxyz(10.1312, 17.4554, 3.5447)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8415 #5F1584
analogous
#718415 #3A8415 #158428
triadic
#3A8415 #153A84 #84153A
tetradic
#3A8415 #157184 #5F1584 #842815
square
#3A8415 #157184 #5F1584 #842815
split-complementary
#3A8415 #281584 #841571
monochromatic
#0C1A04 #234F0D #3A8415 #51B91D #6DDF35

Accessibility & contrast

On white

4.68
#3A8415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A8415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8415
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8415#FFFFFF#000000##FFFFFF
##3A84151.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#347F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8415;
/* rgb */ color: rgb(58, 132, 21);
/* oklch */ color: oklch(54.5% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#3a8415',
    950: '#000000',
  },
}
SCSS
$custom: #3a8415;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8415",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.15793,
    "h": 138
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#3A8415
secondary
#8F3CB9
accent
#39EFB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8415

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

Preview Lab → · Contrast checker → · Palette generator →

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