#3A771C#3A771C

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

Color values

HEX#3A771C
RGBrgb(58, 119, 28)
HSLhsl(100, 62%, 29%)
HSVhsv(100, 76%, 47%)
CMYKcmyk(51.3%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.48, -36.67, 41.40)
CIE-LCHlch(44.48, 55.31, 131.53°)
OKLaboklab(50.92% -0.1016 0.0932)
OKLCHoklch(50.92% 0.138 137.5)
XYZxyz(8.5511, 14.1764, 3.3841)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A771C #591C77
analogous
#68771C #3A771C #1C772C
triadic
#3A771C #1C3A77 #771C3A
tetradic
#3A771C #1C6877 #591C77 #772C1C
square
#3A771C #1C6877 #591C77 #772C1C
split-complementary
#3A771C #2C1C77 #771C68
monochromatic
#0C1906 #224510 #3A771C #52A928 #6DD13C

Accessibility & contrast

On white

5.48
#3A771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A771C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A771C#FFFFFF#000000##FFFFFF
##3A771C1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a771c;
/* rgb */ color: rgb(58, 119, 28);
/* oklch */ color: oklch(50.9% 0.138 137.5);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3a771c',
    950: '#000000',
  },
}
SCSS
$custom: #3a771c;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a771c",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 100.22,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.13784,
    "h": 137.5
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#3A771C
secondary
#8944AB
accent
#43E5B0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A771C

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

Preview Lab → · Contrast checker → · Palette generator →

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