#3D871B#3D871B

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

Color values

HEX#3D871B
RGBrgb(61, 135, 27)
HSLhsl(101, 67%, 32%)
HSVhsv(101, 80%, 53%)
CMYKcmyk(54.8%, 0%, 80%, 47.1%)
CIE-LABlab(49.98, -42.31, 47.16)
CIE-LCHlch(49.98, 63.35, 131.90°)
OKLaboklab(55.47% -0.117 0.105)
OKLCHoklch(55.47% 0.157 138.1)
XYZxyz(10.7859, 18.3983, 4.0196)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D871B #651B87
analogous
#73871B #3D871B #1B872F
triadic
#3D871B #1B3D87 #871B3D
tetradic
#3D871B #1B7387 #651B87 #872F1B
square
#3D871B #1B7387 #651B87 #872F1B
split-complementary
#3D871B #2F1B87 #871B73
monochromatic
#0F2107 #265411 #3D871B #54BA25 #72D943

Accessibility & contrast

On white

4.49
#3D871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D871B#FFFFFF#000000##000000
##3D871B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#378273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3d871b;
/* rgb */ color: rgb(61, 135, 27);
/* oklch */ color: oklch(55.5% 0.157 138.1);
Tailwind
colors: {
  custom: {
    50: '#7bab61',
    500: '#3d871b',
    950: '#000000',
  },
}
SCSS
$custom: #3d871b;
$custom-light: #7bab61;
$custom-dark: #000000;
JSON
{
  "hex": "#3d871b",
  "rgb": {
    "r": 61,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 101.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.15724,
    "h": 138.1
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#3D871B
secondary
#9544BA
accent
#3EEAB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3D871B

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

Preview Lab → · Contrast checker → · Palette generator →

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