#3A791B#3A791B

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

Color values

HEX#3A791B
RGBrgb(58, 121, 27)
HSLhsl(100, 64%, 29%)
HSVhsv(100, 78%, 47%)
CMYKcmyk(52.1%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.15, -37.58, 42.45)
CIE-LCHlch(45.15, 56.69, 131.52°)
OKLaboklab(51.47% -0.1041 0.0952)
OKLCHoklch(51.47% 0.141 137.6)
XYZxyz(8.7798, 14.6528, 3.4023)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A791B #5A1B79
analogous
#69791B #3A791B #1B792B
triadic
#3A791B #1B3A79 #791B3A
tetradic
#3A791B #1B6979 #5A1B79 #792B1B
square
#3A791B #1B6979 #5A1B79 #792B1B
split-complementary
#3A791B #2B1B79 #791B69
monochromatic
#0C1906 #224710 #3A791B #52AB26 #6DD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A791B#FFFFFF#000000##FFFFFF
##3A791B1.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)
#7D6E07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#367567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a791b;
/* rgb */ color: rgb(58, 121, 27);
/* oklch */ color: oklch(51.5% 0.141 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a05f',
    500: '#3a791b',
    950: '#000000',
  },
}
SCSS
$custom: #3a791b;
$custom-light: #77a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a791b",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 100.213,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.14107,
    "h": 137.6
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#3A791B
secondary
#8A43AD
accent
#41E7B0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3A791B

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

Preview Lab → · Contrast checker → · Palette generator →

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