#3A8A52#3A8A52

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

Color values

HEX#3A8A52
RGBrgb(58, 138, 82)
HSLhsl(138, 41%, 38%)
HSVhsv(138, 58%, 54%)
CMYKcmyk(58%, 0%, 40.6%, 45.9%)
CIE-LABlab(51.48, -37.57, 22.83)
CIE-LCHlch(51.48, 43.96, 148.71°)
OKLaboklab(56.88% -0.1018 0.0568)
OKLCHoklch(56.88% 0.117 150.9)
XYZxyz(12.3555, 19.6846, 11.1294)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A52 #8A3A72
analogous
#4A8A3A #3A8A52 #3A8A7A
triadic
#3A8A52 #523A8A #8A523A
tetradic
#3A8A52 #3A4A8A #8A3A72 #8A7A3A
square
#3A8A52 #3A4A8A #8A3A72 #8A7A3A
split-complementary
#3A8A52 #7A3A8A #8A3A4A
monochromatic
#16341F #285F38 #3A8A52 #4DB46C #78C690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A52#FFFFFF#000000##000000
##3A8A521.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)
#8B7F4E
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#25887C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a8a52;
/* rgb */ color: rgb(58, 138, 82);
/* oklch */ color: oklch(56.9% 0.117 150.9);
Tailwind
colors: {
  custom: {
    50: '#78ad83',
    500: '#3a8a52',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a52;
$custom-light: #78ad83;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a52",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 138,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.11653,
    "h": 150.9
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#3A8A52
secondary
#B0709D
accent
#57ACD1
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #3A8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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