#3A8752#3A8752

#3A8752 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.1% C 0.112 H 151.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A8752
RGBrgb(58, 135, 82)
HSLhsl(139, 40%, 38%)
HSVhsv(139, 57%, 53%)
CMYKcmyk(57%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.49, -36.26, 21.53)
CIE-LCHlch(50.49, 42.17, 149.30°)
OKLaboklab(56.07% -0.0983 0.0537)
OKLCHoklch(56.07% 0.112 151.4)
XYZxyz(11.9310, 18.8356, 10.9879)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8752 #873A6F
analogous
#49873A #3A8752 #3A8778
triadic
#3A8752 #523A87 #87523A
tetradic
#3A8752 #3A4987 #873A6F #87783A
square
#3A8752 #3A4987 #873A6F #87783A
split-complementary
#3A8752 #783A87 #873A49
monochromatic
#15311E #285C38 #3A8752 #4CB26C #77C58F

Accessibility & contrast

On white

4.40
#3A8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8752
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8752#FFFFFF#000000##000000
##3A87521.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D4E
Deuteranopia (green-blind)
#7D7555
Tritanopia (blue-blind)
#26857A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8752;
/* rgb */ color: rgb(58, 135, 82);
/* oklch */ color: oklch(56.1% 0.112 151.4);
Tailwind
colors: {
  custom: {
    50: '#77aa83',
    500: '#3a8752',
    950: '#000000',
  },
}
SCSS
$custom: #3a8752;
$custom-light: #77aa83;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8752",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 138.701,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.11202,
    "h": 151.4
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#3A8752
secondary
#AE6F9A
accent
#58AAD0
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #3A8752

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

Preview Lab → · Contrast checker → · Palette generator →

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