#3A8D15#3A8D15

#3A8D15 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.169 H 138.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A8D15
RGBrgb(58, 141, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 55%)
CMYKcmyk(58.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.84, -45.80, 50.65)
CIE-LCHlch(51.84, 68.29, 132.12°)
OKLaboklab(56.97% -0.1265 0.1115)
OKLCHoklch(56.97% 0.169 138.6)
XYZxyz(11.4047, 20.0025, 3.9692)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D15 #68158D
analogous
#768D15 #3A8D15 #158D2C
triadic
#3A8D15 #153A8D #8D153A
tetradic
#3A8D15 #15768D #68158D #8D2C15
square
#3A8D15 #15768D #68158D #8D2C15
split-complementary
#3A8D15 #2C158D #8D1576
monochromatic
#0E2205 #24580D #3A8D15 #50C21D #6EE23B

Accessibility & contrast

On white

4.20
#3A8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D15
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D15#FFFFFF#000000##000000
##3A8D151.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#328878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d15;
/* rgb */ color: rgb(58, 141, 21);
/* oklch */ color: oklch(57.0% 0.169 138.6);
Tailwind
colors: {
  custom: {
    50: '#7baf5f',
    500: '#3a8d15',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d15;
$custom-light: #7baf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d15",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 101.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.16863,
    "h": 138.6
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#3A8D15
secondary
#983DC1
accent
#37F1B7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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