#3C871B#3C871B

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

Color values

HEX#3C871B
RGBrgb(60, 135, 27)
HSLhsl(102, 67%, 32%)
HSVhsv(102, 80%, 53%)
CMYKcmyk(55.6%, 0%, 80%, 47.1%)
CIE-LABlab(49.94, -42.60, 47.11)
CIE-LCHlch(49.94, 63.51, 132.12°)
OKLaboklab(55.43% -0.1177 0.1049)
OKLCHoklch(55.43% 0.158 138.3)
XYZxyz(10.7249, 18.3669, 4.0167)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C871B #661B87
analogous
#72871B #3C871B #1B8730
triadic
#3C871B #1B3C87 #871B3C
tetradic
#3C871B #1B7287 #661B87 #87301B
square
#3C871B #1B7287 #661B87 #87301B
split-complementary
#3C871B #301B87 #871B72
monochromatic
#0F2107 #255411 #3C871B #53BA25 #71D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C871B#FFFFFF#000000##000000
##3C871B1.004.494.674.67
#FFFFFF4.491.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)
#358273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3c871b;
/* rgb */ color: rgb(60, 135, 27);
/* oklch */ color: oklch(55.4% 0.158 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aab61',
    500: '#3c871b',
    950: '#000000',
  },
}
SCSS
$custom: #3c871b;
$custom-light: #7aab61;
$custom-dark: #000000;
JSON
{
  "hex": "#3c871b",
  "rgb": {
    "r": 60,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 101.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.15772,
    "h": 138.3
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#3C871B
secondary
#9644BA
accent
#3EEAB5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3C871B

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

Preview Lab → · Contrast checker → · Palette generator →

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