#3A8D45#3A8D45

#3A8D45 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.134 H 146.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A8D45
RGBrgb(58, 141, 69)
HSLhsl(128, 42%, 39%)
HSVhsv(128, 59%, 55%)
CMYKcmyk(58.9%, 0%, 51.1%, 44.7%)
CIE-LABlab(52.26, -41.03, 30.86)
CIE-LCHlch(52.26, 51.34, 143.06°)
OKLaboklab(57.46% -0.1111 0.0747)
OKLCHoklch(57.46% 0.134 146.1)
XYZxyz(12.3432, 20.3779, 8.9119)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D45 #8D3A82
analogous
#598D3A #3A8D45 #3A8D6F
triadic
#3A8D45 #453A8D #8D453A
tetradic
#3A8D45 #3A598D #8D3A82 #8D6F3A
square
#3A8D45 #3A598D #8D3A82 #8D6F3A
split-complementary
#3A8D45 #6F3A8D #8D3A59
monochromatic
#16361B #286230 #3A8D45 #4EB65C #79C884

Accessibility & contrast

On white

4.14
#3A8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#3A8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D45
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D45#FFFFFF#000000##000000
##3A8D451.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#298A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a8d45;
/* rgb */ color: rgb(58, 141, 69);
/* oklch */ color: oklch(57.5% 0.134 146.1);
Tailwind
colors: {
  custom: {
    50: '#78af7a',
    500: '#3a8d45',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d45;
$custom-light: #78af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d45",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 127.952,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.13388,
    "h": 146.1
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#3A8D45
secondary
#B171A9
accent
#56C1D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #3A8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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