#3F871F#3F871F

#3F871F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.154 H 138.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3F871F
RGBrgb(63, 135, 31)
HSLhsl(102, 63%, 33%)
HSVhsv(102, 77%, 53%)
CMYKcmyk(53.3%, 0%, 77%, 47.1%)
CIE-LABlab(50.08, -41.44, 45.89)
CIE-LCHlch(50.08, 61.83, 132.08°)
OKLaboklab(55.59% -0.1146 0.103)
OKLCHoklch(55.59% 0.154 138.1)
XYZxyz(10.9608, 18.4828, 4.2860)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F871F #671F87
analogous
#73871F #3F871F #1F8733
triadic
#3F871F #1F3F87 #871F3F
tetradic
#3F871F #1F7387 #671F87 #87331F
square
#3F871F #1F7387 #671F87 #87331F
split-complementary
#3F871F #331F87 #871F73
monochromatic
#112308 #285514 #3F871F #56B92A #76D64B

Accessibility & contrast

On white

4.47
#3F871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3F871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F871F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F871F#FFFFFF#000000##000000
##3F871F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#398273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f871f;
/* rgb */ color: rgb(63, 135, 31);
/* oklch */ color: oklch(55.6% 0.154 138.1);
Tailwind
colors: {
  custom: {
    50: '#7cab63',
    500: '#3f871f',
    950: '#000000',
  },
}
SCSS
$custom: #3f871f;
$custom-light: #7cab63;
$custom-dark: #000000;
JSON
{
  "hex": "#3f871f",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 101.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.15404,
    "h": 138.1
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#3F871F
secondary
#964AB8
accent
#42E6B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F871F

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

Preview Lab → · Contrast checker → · Palette generator →

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