#3D771F#3D771F

#3D771F is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.134 H 137.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3D771F
RGBrgb(61, 119, 31)
HSLhsl(100, 59%, 29%)
HSVhsv(100, 74%, 47%)
CMYKcmyk(48.7%, 0%, 73.9%, 53.3%)
CIE-LABlab(44.64, -35.44, 40.41)
CIE-LCHlch(44.64, 53.75, 131.26°)
OKLaboklab(51.09% -0.0983 0.0915)
OKLCHoklch(51.09% 0.134 137)
XYZxyz(8.7684, 14.2841, 3.5911)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D771F #591F77
analogous
#69771F #3D771F #1F772D
triadic
#3D771F #1F3D77 #771F3D
tetradic
#3D771F #1F6977 #591F77 #772D1F
square
#3D771F #1F6977 #591F77 #772D1F
split-complementary
#3D771F #2D1F77 #771F69
monochromatic
#0C1806 #244612 #3D771F #56A82C #72CE43

Accessibility & contrast

On white

5.44
#3D771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3D771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D771F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D771F#FFFFFF#000000##FFFFFF
##3D771F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D10
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d771f;
/* rgb */ color: rgb(61, 119, 31);
/* oklch */ color: oklch(51.1% 0.134 137.0);
Tailwind
colors: {
  custom: {
    50: '#789f60',
    500: '#3d771f',
    950: '#000000',
  },
}
SCSS
$custom: #3d771f;
$custom-light: #789f60;
$custom-dark: #000000;
JSON
{
  "hex": "#3d771f",
  "rgb": {
    "r": 61,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 99.545,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.13428,
    "h": 137
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#3D771F
secondary
#8947AB
accent
#46E2AD
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D771F

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

Preview Lab → · Contrast checker → · Palette generator →

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