#3C771F#3C771F

#3C771F is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.135 H 137.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3C771F
RGBrgb(60, 119, 31)
HSLhsl(100, 59%, 29%)
HSVhsv(100, 74%, 47%)
CMYKcmyk(49.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(44.59, -35.78, 40.35)
CIE-LCHlch(44.59, 53.93, 131.56°)
OKLaboklab(51.04% -0.0991 0.0914)
OKLCHoklch(51.04% 0.135 137.3)
XYZxyz(8.7074, 14.2527, 3.5883)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C771F #5A1F77
analogous
#68771F #3C771F #1F772E
triadic
#3C771F #1F3C77 #771F3C
tetradic
#3C771F #1F6877 #5A1F77 #772E1F
square
#3C771F #1F6877 #5A1F77 #772E1F
split-complementary
#3C771F #2E1F77 #771F68
monochromatic
#0C1806 #244612 #3C771F #54A82C #70CE43

Accessibility & contrast

On white

5.45
#3C771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3C771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C771F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C771F#FFFFFF#000000##FFFFFF
##3C771F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D10
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#387366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3c771f;
/* rgb */ color: rgb(60, 119, 31);
/* oklch */ color: oklch(51.0% 0.135 137.3);
Tailwind
colors: {
  custom: {
    50: '#789f60',
    500: '#3c771f',
    950: '#000000',
  },
}
SCSS
$custom: #3c771f;
$custom-light: #789f60;
$custom-dark: #000000;
JSON
{
  "hex": "#3c771f",
  "rgb": {
    "r": 60,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 100.227,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.13481,
    "h": 137.3
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#3C771F
secondary
#8A47AB
accent
#46E2AE
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C771F

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

Preview Lab → · Contrast checker → · Palette generator →

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