#3B871A#3B871A

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

Color values

HEX#3B871A
RGBrgb(59, 135, 26)
HSLhsl(102, 68%, 32%)
HSVhsv(102, 81%, 53%)
CMYKcmyk(56.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.90, -42.96, 47.38)
CIE-LCHlch(49.90, 63.96, 132.19°)
OKLaboklab(55.39% -0.1187 0.1054)
OKLCHoklch(55.39% 0.159 138.4)
XYZxyz(10.6537, 18.3315, 3.9540)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B871A #661A87
analogous
#72871A #3B871A #1A8730
triadic
#3B871A #1A3B87 #871A3B
tetradic
#3B871A #1A7287 #661A87 #87301A
square
#3B871A #1A7287 #661A87 #87301A
split-complementary
#3B871A #301A87 #871A72
monochromatic
#0E2006 #255410 #3B871A #51BA24 #6FDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B871A#FFFFFF#000000##000000
##3B871A1.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: #3b871a;
/* rgb */ color: rgb(59, 135, 26);
/* oklch */ color: oklch(55.4% 0.159 138.4);
Tailwind
colors: {
  custom: {
    50: '#7aab60',
    500: '#3b871a',
    950: '#000000',
  },
}
SCSS
$custom: #3b871a;
$custom-light: #7aab60;
$custom-dark: #000000;
JSON
{
  "hex": "#3b871a",
  "rgb": {
    "r": 59,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 101.835,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.15871,
    "h": 138.4
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#3B871A
secondary
#9642BA
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B871A

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

Preview Lab → · Contrast checker → · Palette generator →

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