#3A8A42#3A8A42

#3A8A42 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.132 H 145.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A8A42
RGBrgb(58, 138, 66)
HSLhsl(126, 41%, 38%)
HSVhsv(126, 58%, 54%)
CMYKcmyk(58%, 0%, 52.2%, 45.9%)
CIE-LABlab(51.23, -40.24, 31.15)
CIE-LCHlch(51.23, 50.89, 142.26°)
OKLaboklab(56.6% -0.1091 0.0752)
OKLCHoklch(56.6% 0.132 145.4)
XYZxyz(11.8161, 19.4688, 8.2884)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A42 #8A3A82
analogous
#5A8A3A #3A8A42 #3A8A6A
triadic
#3A8A42 #423A8A #8A423A
tetradic
#3A8A42 #3A5A8A #8A3A82 #8A6A3A
square
#3A8A42 #3A5A8A #8A3A82 #8A6A3A
split-complementary
#3A8A42 #6A3A8A #8A3A5A
monochromatic
#163419 #285F2D #3A8A42 #4DB457 #78C680

Accessibility & contrast

On white

4.29
#3A8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3A8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A42
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A42#FFFFFF#000000##000000
##3A8A421.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#827747
Tritanopia (blue-blind)
#2B8779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8a42;
/* rgb */ color: rgb(58, 138, 66);
/* oklch */ color: oklch(56.6% 0.132 145.4);
Tailwind
colors: {
  custom: {
    50: '#78ad78',
    500: '#3a8a42',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a42;
$custom-light: #78ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a42",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 126,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.13247,
    "h": 145.4
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#3A8A42
secondary
#B070A9
accent
#57C5D1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #3A8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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