#3F841F#3F841F

#3F841F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.150 H 137.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3F841F
RGBrgb(63, 132, 31)
HSLhsl(101, 62%, 32%)
HSVhsv(101, 77%, 52%)
CMYKcmyk(52.3%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.08, -40.23, 44.90)
CIE-LCHlch(49.08, 60.29, 131.86°)
OKLaboklab(54.76% -0.1113 0.1009)
OKLCHoklch(54.76% 0.15 137.8)
XYZxyz(10.5481, 17.6574, 4.1485)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F841F #641F84
analogous
#72841F #3F841F #1F8432
triadic
#3F841F #1F3F84 #841F3F
tetradic
#3F841F #1F7284 #641F84 #84321F
square
#3F841F #1F7284 #641F84 #84321F
split-complementary
#3F841F #321F84 #841F72
monochromatic
#102108 #275213 #3F841F #57B62B #75D449

Accessibility & contrast

On white

4.63
#3F841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3F841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F841F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F841F#FFFFFF#000000##FFFFFF
##3F841F1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#3A7F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f841f;
/* rgb */ color: rgb(63, 132, 31);
/* oklch */ color: oklch(54.8% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#7ba862',
    500: '#3f841f',
    950: '#000000',
  },
}
SCSS
$custom: #3f841f;
$custom-light: #7ba862;
$custom-dark: #000000;
JSON
{
  "hex": "#3f841f",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 100.99,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.15024,
    "h": 137.8
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#3F841F
secondary
#9448B7
accent
#43E5B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F841F

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

Preview Lab → · Contrast checker → · Palette generator →

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