#3B871B#3B871B

#3B871B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.158 H 138.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3B871B
RGBrgb(59, 135, 27)
HSLhsl(102, 67%, 32%)
HSVhsv(102, 80%, 53%)
CMYKcmyk(56.3%, 0%, 80%, 47.1%)
CIE-LABlab(49.90, -42.89, 47.06)
CIE-LCHlch(49.90, 63.67, 132.35°)
OKLaboklab(55.39% -0.1185 0.1048)
OKLCHoklch(55.39% 0.158 138.5)
XYZxyz(10.6650, 18.3360, 4.0139)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B871B #671B87
analogous
#71871B #3B871B #1B8731
triadic
#3B871B #1B3B87 #871B3B
tetradic
#3B871B #1B7187 #671B87 #87311B
square
#3B871B #1B7187 #671B87 #87311B
split-complementary
#3B871B #311B87 #871B71
monochromatic
#0E2107 #255411 #3B871B #51BA25 #70D943

Accessibility & contrast

On white

4.50
#3B871B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#3B871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B871B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B871B#FFFFFF#000000##000000
##3B871B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b871b;
/* rgb */ color: rgb(59, 135, 27);
/* oklch */ color: oklch(55.4% 0.158 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aab61',
    500: '#3b871b',
    950: '#000000',
  },
}
SCSS
$custom: #3b871b;
$custom-light: #7aab61;
$custom-dark: #000000;
JSON
{
  "hex": "#3b871b",
  "rgb": {
    "r": 59,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 102.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.1582,
    "h": 138.5
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#3B871B
secondary
#9744BA
accent
#3EEAB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3B871B

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

Preview Lab → · Contrast checker → · Palette generator →

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