#3C841F#3C841F

#3C841F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.152 H 138.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3C841F
RGBrgb(60, 132, 31)
HSLhsl(103, 62%, 32%)
HSVhsv(103, 77%, 52%)
CMYKcmyk(54.5%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.96, -41.14, 44.75)
CIE-LCHlch(48.96, 60.79, 132.60°)
OKLaboklab(54.63% -0.1136 0.1006)
OKLCHoklch(54.63% 0.152 138.5)
XYZxyz(10.3617, 17.5613, 4.1397)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C841F #671F84
analogous
#6F841F #3C841F #1F8434
triadic
#3C841F #1F3C84 #841F3C
tetradic
#3C841F #1F6F84 #671F84 #84341F
square
#3C841F #1F6F84 #671F84 #84341F
split-complementary
#3C841F #341F84 #841F6F
monochromatic
#0F2108 #255213 #3C841F #53B62B #71D449

Accessibility & contrast

On white

4.65
#3C841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3C841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3C841F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C841F#FFFFFF#000000##FFFFFF
##3C841F1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#367F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3c841f;
/* rgb */ color: rgb(60, 132, 31);
/* oklch */ color: oklch(54.6% 0.152 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aa862',
    500: '#3c841f',
    950: '#000000',
  },
}
SCSS
$custom: #3c841f;
$custom-light: #7aa862;
$custom-dark: #000000;
JSON
{
  "hex": "#3c841f",
  "rgb": {
    "r": 60,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 102.772,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.15173,
    "h": 138.5
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#3C841F
secondary
#9748B7
accent
#43E5B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3C841F

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

Preview Lab → · Contrast checker → · Palette generator →

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