#3A8A54#3A8A54

#3A8A54 is a mid, moderate green. Relative luminance 0.197; OKLCH L 56.9% C 0.115 H 151.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A8A54
RGBrgb(58, 138, 84)
HSLhsl(140, 41%, 38%)
HSVhsv(140, 58%, 54%)
CMYKcmyk(58%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.51, -37.20, 21.77)
CIE-LCHlch(51.51, 43.10, 149.67°)
OKLaboklab(56.92% -0.1008 0.0543)
OKLCHoklch(56.92% 0.115 151.7)
XYZxyz(12.4327, 19.7155, 11.5361)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A54 #8A3A70
analogous
#488A3A #3A8A54 #3A8A7C
triadic
#3A8A54 #543A8A #8A543A
tetradic
#3A8A54 #3A488A #8A3A70 #8A7C3A
square
#3A8A54 #3A488A #8A3A70 #8A7C3A
split-complementary
#3A8A54 #7C3A8A #8A3A48
monochromatic
#163420 #285F3A #3A8A54 #4DB46F #78C692

Accessibility & contrast

On white

4.25
#3A8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3A8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A54
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A54#FFFFFF#000000##000000
##3A8A541.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#807857
Tritanopia (blue-blind)
#24887C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a8a54;
/* rgb */ color: rgb(58, 138, 84);
/* oklch */ color: oklch(56.9% 0.115 151.7);
Tailwind
colors: {
  custom: {
    50: '#78ad84',
    500: '#3a8a54',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a54;
$custom-light: #78ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a54",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 139.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.11451,
    "h": 151.7
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#3A8A54
secondary
#B0709B
accent
#57A9D1
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #3A8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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