#3A8E15#3A8E15

#3A8E15 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 138.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A8E15
RGBrgb(58, 142, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 56%)
CMYKcmyk(59.2%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.17, -46.17, 50.95)
CIE-LCHlch(52.17, 68.76, 132.18°)
OKLaboklab(57.25% -0.1275 0.1121)
OKLCHoklch(57.25% 0.17 138.7)
XYZxyz(11.5528, 20.2987, 4.0186)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8E15 #69158E
analogous
#778E15 #3A8E15 #158E2D
triadic
#3A8E15 #153A8E #8E153A
tetradic
#3A8E15 #15778E #69158E #8E2D15
square
#3A8E15 #15778E #69158E #8E2D15
split-complementary
#3A8E15 #2D158E #8E1577
monochromatic
#0E2305 #24590D #3A8E15 #50C31D #6EE23B

Accessibility & contrast

On white

4.15
#3A8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8E15
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8E15#FFFFFF#000000##000000
##3A8E151.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#318978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8e15;
/* rgb */ color: rgb(58, 142, 21);
/* oklch */ color: oklch(57.2% 0.170 138.7);
Tailwind
colors: {
  custom: {
    50: '#7bb05f',
    500: '#3a8e15',
    950: '#000000',
  },
}
SCSS
$custom: #3a8e15;
$custom-light: #7bb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8e15",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 101.653,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.1698,
    "h": 138.7
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#3A8E15
secondary
#993DC2
accent
#37F1B8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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