#3A7E2A#3A7E2A

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

Color values

HEX#3A7E2A
RGBrgb(58, 126, 42)
HSLhsl(109, 50%, 33%)
HSVhsv(109, 67%, 49%)
CMYKcmyk(54%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.96, -38.33, 38.05)
CIE-LCHlch(46.96, 54.01, 135.21°)
OKLaboklab(52.99% -0.1051 0.0881)
OKLCHoklch(52.99% 0.137 140)
XYZxyz(9.6233, 15.9877, 4.7689)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E2A #6E2A7E
analogous
#647E2A #3A7E2A #2A7E44
triadic
#3A7E2A #2A3A7E #7E2A3A
tetradic
#3A7E2A #2A647E #6E2A7E #7E442A
square
#3A7E2A #2A647E #6E2A7E #7E442A
split-complementary
#3A7E2A #442A7E #7E2A64
monochromatic
#10220B #25501B #3A7E2A #4FAC39 #6FC85A

Accessibility & contrast

On white

5.00
#3A7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3A7E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E2A#FFFFFF#000000##FFFFFF
##3A7E2A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#337A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e2a;
/* rgb */ color: rgb(58, 126, 42);
/* oklch */ color: oklch(53.0% 0.137 140.0);
Tailwind
colors: {
  custom: {
    50: '#77a467',
    500: '#3a7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e2a;
$custom-light: #77a467;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e2a",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 108.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.13711,
    "h": 140
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#3A7E2A
secondary
#9D56AE
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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