#3A7F2B#3A7F2B

#3A7F2B is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.138 H 140.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A7F2B
RGBrgb(58, 127, 43)
HSLhsl(109, 49%, 33%)
HSVhsv(109, 66%, 50%)
CMYKcmyk(54.3%, 0%, 66.1%, 50.2%)
CIE-LABlab(47.30, -38.64, 37.97)
CIE-LCHlch(47.30, 54.17, 135.50°)
OKLaboklab(53.28% -0.1059 0.088)
OKLCHoklch(53.28% 0.138 140.3)
XYZxyz(9.7699, 16.2519, 4.9071)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F2B #702B7F
analogous
#647F2B #3A7F2B #2B7F46
triadic
#3A7F2B #2B3A7F #7F2B3A
tetradic
#3A7F2B #2B647F #702B7F #7F462B
square
#3A7F2B #2B647F #702B7F #7F462B
split-complementary
#3A7F2B #462B7F #7F2B64
monochromatic
#10240C #25511C #3A7F2B #4FAD3A #70C85C

Accessibility & contrast

On white

4.94
#3A7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A7F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F2B#FFFFFF#000000##FFFFFF
##3A7F2B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#337B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f2b;
/* rgb */ color: rgb(58, 127, 43);
/* oklch */ color: oklch(53.3% 0.138 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a568',
    500: '#3a7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f2b;
$custom-light: #77a568;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f2b",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 109.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.13768,
    "h": 140.3
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#3A7F2B
secondary
#9E58AE
accent
#4FD9C0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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