#3A771D#3A771D

#3A771D is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.137 H 137.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3A771D
RGBrgb(58, 119, 29)
HSLhsl(101, 61%, 29%)
HSVhsv(101, 76%, 47%)
CMYKcmyk(51.3%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.49, -36.59, 41.02)
CIE-LCHlch(44.49, 54.97, 131.73°)
OKLaboklab(50.93% -0.1013 0.0925)
OKLCHoklch(50.93% 0.137 137.6)
XYZxyz(8.5632, 14.1813, 3.4482)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A771D #5A1D77
analogous
#67771D #3A771D #1D772D
triadic
#3A771D #1D3A77 #771D3A
tetradic
#3A771D #1D6777 #5A1D77 #772D1D
square
#3A771D #1D6777 #5A1D77 #772D1D
split-complementary
#3A771D #2D1D77 #771D67
monochromatic
#0C1906 #224611 #3A771D #52A829 #6DD03E

Accessibility & contrast

On white

5.47
#3A771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3A771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A771D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A771D#FFFFFF#000000##FFFFFF
##3A771D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0D
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#367365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a771d;
/* rgb */ color: rgb(58, 119, 29);
/* oklch */ color: oklch(50.9% 0.137 137.6);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3a771d',
    950: '#000000',
  },
}
SCSS
$custom: #3a771d;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a771d",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 100.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.1372,
    "h": 137.6
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#3A771D
secondary
#8A45AB
accent
#44E4B0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A771D

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

Preview Lab → · Contrast checker → · Palette generator →

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