#3A9015#3A9015

#3A9015 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.172 H 138.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A9015
RGBrgb(58, 144, 21)
HSLhsl(102, 75%, 32%)
HSVhsv(102, 85%, 56%)
CMYKcmyk(59.7%, 0%, 85.4%, 43.5%)
CIE-LABlab(52.84, -46.91, 51.55)
CIE-LCHlch(52.84, 69.70, 132.30°)
OKLaboklab(57.8% -0.1295 0.1134)
OKLCHoklch(57.8% 0.172 138.8)
XYZxyz(11.8531, 20.8992, 4.1186)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9015 #6B1590
analogous
#789015 #3A9015 #15902D
triadic
#3A9015 #153A90 #90153A
tetradic
#3A9015 #157890 #6B1590 #902D15
square
#3A9015 #157890 #6B1590 #902D15
split-complementary
#3A9015 #2D1590 #901578
monochromatic
#0F2505 #245B0D #3A9015 #50C51D #6FE33D

Accessibility & contrast

On white

4.05
#3A9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3A9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9015
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9015#FFFFFF#000000##000000
##3A90151.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958200
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#318B7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a9015;
/* rgb */ color: rgb(58, 144, 21);
/* oklch */ color: oklch(57.8% 0.172 138.8);
Tailwind
colors: {
  custom: {
    50: '#7bb160',
    500: '#3a9015',
    950: '#000000',
  },
}
SCSS
$custom: #3a9015;
$custom-light: #7bb160;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9015",
  "rgb": {
    "r": 58,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 101.951,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.578,
    "c": 0.17213,
    "h": 138.8
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#3A9015
secondary
#9B3EC2
accent
#37F1B9
background
#F8FBF5
surface
#EFF6EA
border
#CAD0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #3A9015

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

Preview Lab → · Contrast checker → · Palette generator →

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