#3A8A40#3A8A40

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

Color values

HEX#3A8A40
RGBrgb(58, 138, 64)
HSLhsl(125, 41%, 38%)
HSVhsv(125, 58%, 54%)
CMYKcmyk(58%, 0%, 53.6%, 45.9%)
CIE-LABlab(51.20, -40.54, 32.16)
CIE-LCHlch(51.20, 51.75, 141.57°)
OKLaboklab(56.57% -0.1099 0.0773)
OKLCHoklch(56.57% 0.134 144.9)
XYZxyz(11.7581, 19.4456, 7.9833)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A40 #8A3A84
analogous
#5C8A3A #3A8A40 #3A8A68
triadic
#3A8A40 #403A8A #8A403A
tetradic
#3A8A40 #3A5C8A #8A3A84 #8A683A
square
#3A8A40 #3A5C8A #8A3A84 #8A683A
split-complementary
#3A8A40 #683A8A #8A3A5C
monochromatic
#163418 #285F2C #3A8A40 #4DB455 #78C67E

Accessibility & contrast

On white

4.30
#3A8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A40#FFFFFF#000000##000000
##3A8A401.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8a40;
/* rgb */ color: rgb(58, 138, 64);
/* oklch */ color: oklch(56.6% 0.134 144.9);
Tailwind
colors: {
  custom: {
    50: '#78ad76',
    500: '#3a8a40',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a40;
$custom-light: #78ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a40",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 124.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.13438,
    "h": 144.9
  },
  "luminance": 0.19447
}

Semantic roles & 50–950 ramp

primary
#3A8A40
secondary
#B070AB
accent
#57C8D1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #3A8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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