#3A791E#3A791E

#3A791E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.139 H 137.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3A791E
RGBrgb(58, 121, 30)
HSLhsl(102, 60%, 30%)
HSVhsv(102, 75%, 47%)
CMYKcmyk(52.1%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.18, -37.35, 41.32)
CIE-LCHlch(45.18, 55.70, 132.12°)
OKLaboklab(51.49% -0.1033 0.0933)
OKLCHoklch(51.49% 0.139 137.9)
XYZxyz(8.8163, 14.6674, 3.5946)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A791E #5D1E79
analogous
#68791E #3A791E #1E792F
triadic
#3A791E #1E3A79 #791E3A
tetradic
#3A791E #1E6879 #5D1E79 #792F1E
square
#3A791E #1E6879 #5D1E79 #792F1E
split-complementary
#3A791E #2F1E79 #791E68
monochromatic
#0C1906 #224812 #3A791E #52AA2A #6DD041

Accessibility & contrast

On white

5.34
#3A791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A791E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A791E#FFFFFF#000000##FFFFFF
##3A791E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#357567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a791e;
/* rgb */ color: rgb(58, 121, 30);
/* oklch */ color: oklch(51.5% 0.139 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a060',
    500: '#3a791e',
    950: '#000000',
  },
}
SCSS
$custom: #3a791e;
$custom-light: #77a060;
$custom-dark: #000000;
JSON
{
  "hex": "#3a791e",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 101.538,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.13918,
    "h": 137.9
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#3A791E
secondary
#8D46AD
accent
#44E3B2
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3A791E

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

Preview Lab → · Contrast checker → · Palette generator →

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