#3A8F2D#3A8F2D

#3A8F2D is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.157 H 141.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A8F2D
RGBrgb(58, 143, 45)
HSLhsl(112, 52%, 37%)
HSVhsv(112, 69%, 56%)
CMYKcmyk(59.4%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.66, -44.82, 42.91)
CIE-LCHlch(52.66, 62.04, 136.25°)
OKLaboklab(57.7% -0.1225 0.0987)
OKLCHoklch(57.7% 0.157 141.1)
XYZxyz(12.0405, 20.7329, 5.8495)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F2D #822D8F
analogous
#6B8F2D #3A8F2D #2D8F51
triadic
#3A8F2D #2D3A8F #8F2D3A
tetradic
#3A8F2D #2D6B8F #822D8F #8F512D
square
#3A8F2D #2D6B8F #822D8F #8F512D
split-complementary
#3A8F2D #512D8F #8F2D6B
monochromatic
#143210 #27601E #3A8F2D #4DBE3C #75CF67

Accessibility & contrast

On white

4.08
#3A8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3A8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F2D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F2D#FFFFFF#000000##000000
##3A8F2D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#2E8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a8f2d;
/* rgb */ color: rgb(58, 143, 45);
/* oklch */ color: oklch(57.7% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#7ab16b',
    500: '#3a8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f2d;
$custom-light: #7ab16b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f2d",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 112.041,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.15728,
    "h": 141.1
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#3A8F2D
secondary
#AB62B6
accent
#4CDCC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #3A8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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