#3D871F#3D871F

#3D871F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.155 H 138.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3D871F
RGBrgb(61, 135, 31)
HSLhsl(103, 63%, 33%)
HSVhsv(103, 77%, 53%)
CMYKcmyk(54.8%, 0%, 77%, 47.1%)
CIE-LABlab(50.00, -42.04, 45.79)
CIE-LCHlch(50.00, 62.16, 132.56°)
OKLaboklab(55.5% -0.1161 0.1028)
OKLCHoklch(55.5% 0.155 138.5)
XYZxyz(10.8354, 18.4181, 4.2801)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D871F #691F87
analogous
#71871F #3D871F #1F8735
triadic
#3D871F #1F3D87 #871F3D
tetradic
#3D871F #1F7187 #691F87 #87351F
square
#3D871F #1F7187 #691F87 #87351F
split-complementary
#3D871F #351F87 #871F71
monochromatic
#102308 #275514 #3D871F #53B92A #73D64B

Accessibility & contrast

On white

4.48
#3D871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#3D871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D871F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D871F#FFFFFF#000000##000000
##3D871F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#378273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3d871f;
/* rgb */ color: rgb(61, 135, 31);
/* oklch */ color: oklch(55.5% 0.155 138.5);
Tailwind
colors: {
  custom: {
    50: '#7bab63',
    500: '#3d871f',
    950: '#000000',
  },
}
SCSS
$custom: #3d871f;
$custom-light: #7bab63;
$custom-dark: #000000;
JSON
{
  "hex": "#3d871f",
  "rgb": {
    "r": 61,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 102.692,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.15501,
    "h": 138.5
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#3D871F
secondary
#984AB8
accent
#42E6B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D871F

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

Preview Lab → · Contrast checker → · Palette generator →

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