#3A9012#3A9012

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

Color values

HEX#3A9012
RGBrgb(58, 144, 18)
HSLhsl(101, 78%, 32%)
HSVhsv(101, 88%, 56%)
CMYKcmyk(59.7%, 0%, 87.5%, 43.5%)
CIE-LABlab(52.83, -47.05, 52.29)
CIE-LCHlch(52.83, 70.34, 131.98°)
OKLaboklab(57.79% -0.13 0.1145)
OKLCHoklch(57.79% 0.173 138.6)
XYZxyz(11.8269, 20.8887, 3.9808)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9012 #681290
analogous
#799012 #3A9012 #129029
triadic
#3A9012 #123A90 #90123A
tetradic
#3A9012 #127990 #681290 #902912
square
#3A9012 #127990 #681290 #902912
split-complementary
#3A9012 #291290 #901279
monochromatic
#0E2304 #245A0B #3A9012 #50C619 #6EE636

Accessibility & contrast

On white

4.06
#3A9012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A9012#FFFFFF#000000##000000
##3A90121.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a9012;
/* rgb */ color: rgb(58, 144, 18);
/* oklch */ color: oklch(57.8% 0.173 138.6);
Tailwind
colors: {
  custom: {
    50: '#7bb15f',
    500: '#3a9012',
    950: '#000000',
  },
}
SCSS
$custom: #3a9012;
$custom-light: #7bb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9012",
  "rgb": {
    "r": 58,
    "g": 144,
    "b": 18
  },
  "hsl": {
    "h": 100.952,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.17325,
    "h": 138.6
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#3A9012
secondary
#983AC4
accent
#34F4B7
background
#F8FBF5
surface
#EFF6EA
border
#CAD0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #3A9012

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

Preview Lab → · Contrast checker → · Palette generator →

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