#3A7E2F#3A7E2F

#3A7E2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.133 H 141.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7E2F
RGBrgb(58, 126, 47)
HSLhsl(112, 46%, 34%)
HSVhsv(112, 63%, 49%)
CMYKcmyk(54%, 0%, 62.7%, 50.6%)
CIE-LABlab(47.01, -37.78, 35.75)
CIE-LCHlch(47.01, 52.01, 136.58°)
OKLaboklab(53.05% -0.1033 0.0837)
OKLCHoklch(53.05% 0.133 141)
XYZxyz(9.7184, 16.0257, 5.2699)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E2F #732F7E
analogous
#627E2F #3A7E2F #2F7E4C
triadic
#3A7E2F #2F3A7E #7E2F3A
tetradic
#3A7E2F #2F627E #732F7E #7E4C2F
square
#3A7E2F #2F627E #732F7E #7E4C2F
split-complementary
#3A7E2F #4C2F7E #7E2F62
monochromatic
#11250E #25511E #3A7E2F #4FAB40 #70C563

Accessibility & contrast

On white

4.99
#3A7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E2F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E2F#FFFFFF#000000##FFFFFF
##3A7E2F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#327A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e2f;
/* rgb */ color: rgb(58, 126, 47);
/* oklch */ color: oklch(53.0% 0.133 141.0);
Tailwind
colors: {
  custom: {
    50: '#77a46b',
    500: '#3a7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e2f;
$custom-light: #77a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e2f",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 111.646,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.13295,
    "h": 141
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#3A7E2F
secondary
#A15DAC
accent
#52D5C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #3A7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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