#3A8F15#3A8F15

#3A8F15 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.171 H 138.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A8F15
RGBrgb(58, 143, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 56%)
CMYKcmyk(59.4%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.51, -46.54, 51.25)
CIE-LCHlch(52.51, 69.23, 132.24°)
OKLaboklab(57.53% -0.1285 0.1128)
OKLCHoklch(57.53% 0.171 138.7)
XYZxyz(11.7023, 20.5976, 4.0684)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F15 #6A158F
analogous
#778F15 #3A8F15 #158F2D
triadic
#3A8F15 #153A8F #8F153A
tetradic
#3A8F15 #15778F #6A158F #8F2D15
square
#3A8F15 #15778F #6A158F #8F2D15
split-complementary
#3A8F15 #2D158F #8F1577
monochromatic
#0F2405 #245A0D #3A8F15 #50C41D #6EE23C

Accessibility & contrast

On white

4.10
#3A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F15#FFFFFF#000000##000000
##3A8F151.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#318A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a8f15;
/* rgb */ color: rgb(58, 143, 21);
/* oklch */ color: oklch(57.5% 0.171 138.7);
Tailwind
colors: {
  custom: {
    50: '#7bb15f',
    500: '#3a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f15;
$custom-light: #7bb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f15",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 101.803,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.17097,
    "h": 138.7
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#3A8F15
secondary
#9A3EC2
accent
#37F1B9
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #3A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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