#3A792C#3A792C

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

Color values

HEX#3A792C
RGBrgb(58, 121, 44)
HSLhsl(109, 47%, 32%)
HSVhsv(109, 64%, 47%)
CMYKcmyk(52.1%, 0%, 63.6%, 52.5%)
CIE-LABlab(45.30, -36.01, 35.26)
CIE-LCHlch(45.30, 50.40, 135.60°)
OKLaboklab(51.63% -0.0987 0.0823)
OKLCHoklch(51.63% 0.129 140.2)
XYZxyz(9.0365, 14.7555, 4.7543)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A792C #6B2C79
analogous
#61792C #3A792C #2C7945
triadic
#3A792C #2C3A79 #792C3A
tetradic
#3A792C #2C6179 #6B2C79 #79452C
square
#3A792C #2C6179 #6B2C79 #79452C
split-complementary
#3A792C #452C79 #792C61
monochromatic
#0F1F0B #244C1C #3A792C #50A63C #6FC45C

Accessibility & contrast

On white

5.31
#3A792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A792C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A792C#FFFFFF#000000##FFFFFF
##3A792C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F23
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#347569
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a792c;
/* rgb */ color: rgb(58, 121, 44);
/* oklch */ color: oklch(51.6% 0.129 140.2);
Tailwind
colors: {
  custom: {
    50: '#76a068',
    500: '#3a792c',
    950: '#000000',
  },
}
SCSS
$custom: #3a792c;
$custom-light: #76a068;
$custom-dark: #000000;
JSON
{
  "hex": "#3a792c",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 109.091,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.12851,
    "h": 140.2
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#3A792C
secondary
#9B57AA
accent
#51D6BE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #3A792C

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

Preview Lab → · Contrast checker → · Palette generator →

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