#3A8A5F#3A8A5F

#3A8A5F is a mid, moderate green. Relative luminance 0.199; OKLCH L 57.2% C 0.104 H 157.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3A8A5F
RGBrgb(58, 138, 95)
HSLhsl(148, 41%, 38%)
HSVhsv(148, 58%, 54%)
CMYKcmyk(58%, 0%, 31.2%, 45.9%)
CIE-LABlab(51.73, -34.98, 15.86)
CIE-LCHlch(51.73, 38.41, 155.62°)
OKLaboklab(57.16% -0.0955 0.0402)
OKLCHoklch(57.16% 0.104 157.2)
XYZxyz(12.8979, 19.9015, 13.9859)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A5F #8A3A65
analogous
#3D8A3A #3A8A5F #3A8A87
triadic
#3A8A5F #5F3A8A #8A5F3A
tetradic
#3A8A5F #3A3D8A #8A3A65 #8A873A
square
#3A8A5F #3A3D8A #8A3A65 #8A873A
split-complementary
#3A8A5F #873A8A #8A3A3D
monochromatic
#163424 #285F41 #3A8A5F #4DB47D #78C69C

Accessibility & contrast

On white

4.22
#3A8A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3A8A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A5F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A5F#FFFFFF#000000##000000
##3A8A5F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805C
Deuteranopia (green-blind)
#7E7862
Tritanopia (blue-blind)
#1E897F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a8a5f;
/* rgb */ color: rgb(58, 138, 95);
/* oklch */ color: oklch(57.2% 0.104 157.2);
Tailwind
colors: {
  custom: {
    50: '#77ad8c',
    500: '#3a8a5f',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a5f;
$custom-light: #77ad8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a5f",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 95
  },
  "hsl": {
    "h": 147.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.10358,
    "h": 157.2
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#3A8A5F
secondary
#B07092
accent
#5798D1
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #3A8A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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