#3F871B#3F871B

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

Color values

HEX#3F871B
RGBrgb(63, 135, 27)
HSLhsl(100, 67%, 32%)
HSVhsv(100, 80%, 53%)
CMYKcmyk(53.3%, 0%, 80%, 47.1%)
CIE-LABlab(50.05, -41.71, 47.26)
CIE-LCHlch(50.05, 63.03, 131.43°)
OKLaboklab(55.56% -0.1155 0.1052)
OKLCHoklch(55.56% 0.156 137.7)
XYZxyz(10.9113, 18.4630, 4.0254)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F871B #631B87
analogous
#75871B #3F871B #1B872D
triadic
#3F871B #1B3F87 #871B3F
tetradic
#3F871B #1B7587 #631B87 #872D1B
square
#3F871B #1B7587 #631B87 #872D1B
split-complementary
#3F871B #2D1B87 #871B75
monochromatic
#0F2107 #275411 #3F871B #57BA25 #75D943

Accessibility & contrast

On white

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

On black

4.69
#3F871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F871B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F871B#FFFFFF#000000##000000
##3F871B1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#3A8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f871b;
/* rgb */ color: rgb(63, 135, 27);
/* oklch */ color: oklch(55.6% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#7cab61',
    500: '#3f871b',
    950: '#000000',
  },
}
SCSS
$custom: #3f871b;
$custom-light: #7cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f871b",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 100,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.15626,
    "h": 137.7
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#3F871B
secondary
#9344BA
accent
#3EEAB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F871B

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

Preview Lab → · Contrast checker → · Palette generator →

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