#3A8A15#3A8A15

#3A8A15 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.165 H 138.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A8A15
RGBrgb(58, 138, 21)
HSLhsl(101, 74%, 31%)
HSVhsv(101, 85%, 54%)
CMYKcmyk(58%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.84, -44.67, 49.74)
CIE-LCHlch(50.84, 66.86, 131.92°)
OKLaboklab(56.15% -0.1235 0.1096)
OKLCHoklch(56.15% 0.165 138.4)
XYZxyz(10.9683, 19.1297, 3.8237)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A15 #65158A
analogous
#748A15 #3A8A15 #158A2B
triadic
#3A8A15 #153A8A #8A153A
tetradic
#3A8A15 #15748A #65158A #8A2B15
square
#3A8A15 #15748A #65158A #8A2B15
split-complementary
#3A8A15 #2B158A #8A1574
monochromatic
#0D2005 #24550D #3A8A15 #50BF1D #6EE139

Accessibility & contrast

On white

4.35
#3A8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3A8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A15
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A15#FFFFFF#000000##000000
##3A8A151.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#328575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a15;
/* rgb */ color: rgb(58, 138, 21);
/* oklch */ color: oklch(56.1% 0.165 138.4);
Tailwind
colors: {
  custom: {
    50: '#7aad5f',
    500: '#3a8a15',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a15;
$custom-light: #7aad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a15",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 101.026,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.1651,
    "h": 138.4
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#3A8A15
secondary
#953DBE
accent
#38F0B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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