#3A8A45#3A8A45

#3A8A45 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.130 H 146.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A8A45
RGBrgb(58, 138, 69)
HSLhsl(128, 41%, 38%)
HSVhsv(128, 58%, 54%)
CMYKcmyk(58%, 0%, 50%, 45.9%)
CIE-LABlab(51.27, -39.79, 29.63)
CIE-LCHlch(51.27, 49.61, 143.33°)
OKLaboklab(56.65% -0.1078 0.0719)
OKLCHoklch(56.65% 0.13 146.3)
XYZxyz(11.9068, 19.5051, 8.7665)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A45 #8A3A7F
analogous
#578A3A #3A8A45 #3A8A6D
triadic
#3A8A45 #453A8A #8A453A
tetradic
#3A8A45 #3A578A #8A3A7F #8A6D3A
square
#3A8A45 #3A578A #8A3A7F #8A6D3A
split-complementary
#3A8A45 #6D3A8A #8A3A57
monochromatic
#16341A #285F2F #3A8A45 #4DB45B #78C683

Accessibility & contrast

On white

4.28
#3A8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#3A8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A45
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A45#FFFFFF#000000##000000
##3A8A451.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#2A877A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8a45;
/* rgb */ color: rgb(58, 138, 69);
/* oklch */ color: oklch(56.6% 0.130 146.3);
Tailwind
colors: {
  custom: {
    50: '#78ad7a',
    500: '#3a8a45',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a45;
$custom-light: #78ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a45",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 128.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.12956,
    "h": 146.3
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#3A8A45
secondary
#B070A7
accent
#57C0D1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #3A8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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