#3A792B#3A792B

#3A792B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.6% C 0.129 H 140.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3A792B
RGBrgb(58, 121, 43)
HSLhsl(108, 48%, 32%)
HSVhsv(108, 64%, 47%)
CMYKcmyk(52.1%, 0%, 64.5%, 52.5%)
CIE-LABlab(45.29, -36.12, 35.73)
CIE-LCHlch(45.29, 50.80, 135.31°)
OKLaboklab(51.62% -0.099 0.0832)
OKLCHoklch(51.62% 0.129 140)
XYZxyz(9.0180, 14.7480, 4.6565)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A792B #6A2B79
analogous
#61792B #3A792B #2B7943
triadic
#3A792B #2B3A79 #792B3A
tetradic
#3A792B #2B6179 #6A2B79 #79432B
square
#3A792B #2B6179 #6A2B79 #79432B
split-complementary
#3A792B #432B79 #792B61
monochromatic
#0F1F0B #244C1B #3A792B #50A63B #6EC45A

Accessibility & contrast

On white

5.32
#3A792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3A792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A792B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A792B#FFFFFF#000000##FFFFFF
##3A792B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F22
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a792b;
/* rgb */ color: rgb(58, 121, 43);
/* oklch */ color: oklch(51.6% 0.129 140.0);
Tailwind
colors: {
  custom: {
    50: '#76a068',
    500: '#3a792b',
    950: '#000000',
  },
}
SCSS
$custom: #3a792b;
$custom-light: #76a068;
$custom-dark: #000000;
JSON
{
  "hex": "#3a792b",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 108.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.12937,
    "h": 140
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#3A792B
secondary
#9A56AA
accent
#51D7BD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #3A792B

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

Preview Lab → · Contrast checker → · Palette generator →

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