#3A792A#3A792A

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

Color values

HEX#3A792A
RGBrgb(58, 121, 42)
HSLhsl(108, 48%, 32%)
HSVhsv(108, 65%, 47%)
CMYKcmyk(52.1%, 0%, 65.3%, 52.5%)
CIE-LABlab(45.28, -36.23, 36.19)
CIE-LCHlch(45.28, 51.21, 135.03°)
OKLaboklab(51.61% -0.0994 0.0841)
OKLCHoklch(51.61% 0.13 139.8)
XYZxyz(8.9998, 14.7408, 4.5610)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A792A #692A79
analogous
#62792A #3A792A #2A7942
triadic
#3A792A #2A3A79 #792A3A
tetradic
#3A792A #2A6279 #692A79 #79422A
square
#3A792A #2A6279 #692A79 #79422A
split-complementary
#3A792A #422A79 #792A62
monochromatic
#0E1E0A #244C1A #3A792A #50A63A #6EC558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A792A#FFFFFF#000000##FFFFFF
##3A792A1.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)
#7C6F21
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a792a;
/* rgb */ color: rgb(58, 121, 42);
/* oklch */ color: oklch(51.6% 0.130 139.8);
Tailwind
colors: {
  custom: {
    50: '#76a067',
    500: '#3a792a',
    950: '#000000',
  },
}
SCSS
$custom: #3a792a;
$custom-light: #76a067;
$custom-dark: #000000;
JSON
{
  "hex": "#3a792a",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 107.848,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.1302,
    "h": 139.8
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#3A792A
secondary
#9954AB
accent
#50D8BC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #3A792A

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

Preview Lab → · Contrast checker → · Palette generator →

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