#3C871C#3C871C

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

Color values

HEX#3C871C
RGBrgb(60, 135, 28)
HSLhsl(102, 66%, 32%)
HSVhsv(102, 79%, 53%)
CMYKcmyk(55.6%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.94, -42.54, 46.78)
CIE-LCHlch(49.94, 63.23, 132.28°)
OKLaboklab(55.44% -0.1175 0.1044)
OKLCHoklch(55.44% 0.157 138.4)
XYZxyz(10.7367, 18.3716, 4.0787)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C871C #671C87
analogous
#72871C #3C871C #1C8732
triadic
#3C871C #1C3C87 #871C3C
tetradic
#3C871C #1C7287 #671C87 #87321C
square
#3C871C #1C7287 #671C87 #87321C
split-complementary
#3C871C #321C87 #871C72
monochromatic
#0F2207 #255411 #3C871C #53BA27 #71D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C871C#FFFFFF#000000##000000
##3C871C1.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)
#8B7B01
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#358273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3c871c;
/* rgb */ color: rgb(60, 135, 28);
/* oklch */ color: oklch(55.4% 0.157 138.4);
Tailwind
colors: {
  custom: {
    50: '#7aab61',
    500: '#3c871c',
    950: '#000000',
  },
}
SCSS
$custom: #3c871c;
$custom-light: #7aab61;
$custom-dark: #000000;
JSON
{
  "hex": "#3c871c",
  "rgb": {
    "r": 60,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 102.056,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.15719,
    "h": 138.4
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#3C871C
secondary
#9745BA
accent
#3FE9B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3C871C

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

Preview Lab → · Contrast checker → · Palette generator →

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