#3C871F#3C871F

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

Color values

HEX#3C871F
RGBrgb(60, 135, 31)
HSLhsl(103, 63%, 33%)
HSVhsv(103, 77%, 53%)
CMYKcmyk(55.6%, 0%, 77%, 47.1%)
CIE-LABlab(49.96, -42.33, 45.74)
CIE-LCHlch(49.96, 62.32, 132.79°)
OKLaboklab(55.46% -0.1168 0.1027)
OKLCHoklch(55.46% 0.156 138.7)
XYZxyz(10.7744, 18.3867, 4.2773)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C871F #6A1F87
analogous
#70871F #3C871F #1F8736
triadic
#3C871F #1F3C87 #871F3C
tetradic
#3C871F #1F7087 #6A1F87 #87361F
square
#3C871F #1F7087 #6A1F87 #87361F
split-complementary
#3C871F #361F87 #871F70
monochromatic
#102308 #265514 #3C871F #52B92A #71D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C871F#FFFFFF#000000##000000
##3C871F1.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)
#8B7B09
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#358273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3c871f;
/* rgb */ color: rgb(60, 135, 31);
/* oklch */ color: oklch(55.5% 0.155 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aab63',
    500: '#3c871f',
    950: '#000000',
  },
}
SCSS
$custom: #3c871f;
$custom-light: #7aab63;
$custom-dark: #000000;
JSON
{
  "hex": "#3c871f",
  "rgb": {
    "r": 60,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 103.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5546,
    "c": 0.1555,
    "h": 138.7
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#3C871F
secondary
#994AB8
accent
#42E6B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C871F

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

Preview Lab → · Contrast checker → · Palette generator →

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