#3A771E#3A771E

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

Color values

HEX#3A771E
RGBrgb(58, 119, 30)
HSLhsl(101, 60%, 29%)
HSVhsv(101, 75%, 47%)
CMYKcmyk(51.3%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.50, -36.51, 40.63)
CIE-LCHlch(44.50, 54.63, 131.94°)
OKLaboklab(50.94% -0.101 0.0919)
OKLCHoklch(50.94% 0.137 137.7)
XYZxyz(8.5758, 14.1863, 3.5144)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A771E #5B1E77
analogous
#67771E #3A771E #1E772F
triadic
#3A771E #1E3A77 #771E3A
tetradic
#3A771E #1E6777 #5B1E77 #772F1E
square
#3A771E #1E6777 #5B1E77 #772F1E
split-complementary
#3A771E #2F1E77 #771E67
monochromatic
#0C1806 #224612 #3A771E #52A82A #6DCF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A771E#FFFFFF#000000##FFFFFF
##3A771E1.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)
#7B6C0F
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#367366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a771e;
/* rgb */ color: rgb(58, 119, 30);
/* oklch */ color: oklch(50.9% 0.137 137.7);
Tailwind
colors: {
  custom: {
    50: '#779f60',
    500: '#3a771e',
    950: '#000000',
  },
}
SCSS
$custom: #3a771e;
$custom-light: #779f60;
$custom-dark: #000000;
JSON
{
  "hex": "#3a771e",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 101.124,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.13654,
    "h": 137.7
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#3A771E
secondary
#8B46AB
accent
#45E3B1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A771E

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

Preview Lab → · Contrast checker → · Palette generator →

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