#3F811F#3F811F

#3F811F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.146 H 137.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3F811F
RGBrgb(63, 129, 31)
HSLhsl(100, 61%, 31%)
HSVhsv(100, 76%, 51%)
CMYKcmyk(51.2%, 0%, 76%, 49.4%)
CIE-LABlab(48.08, -39.00, 43.91)
CIE-LCHlch(48.08, 58.73, 131.61°)
OKLaboklab(53.94% -0.108 0.0988)
OKLCHoklch(53.94% 0.146 137.5)
XYZxyz(10.1471, 16.8555, 4.0148)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F811F #611F81
analogous
#70811F #3F811F #1F8130
triadic
#3F811F #1F3F81 #811F3F
tetradic
#3F811F #1F7081 #611F81 #81301F
square
#3F811F #1F7081 #611F81 #81301F
split-complementary
#3F811F #301F81 #811F70
monochromatic
#0F1E07 #275013 #3F811F #57B22B #75D347

Accessibility & contrast

On white

4.80
#3F811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3F811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F811F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F811F#FFFFFF#000000##FFFFFF
##3F811F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f811f;
/* rgb */ color: rgb(63, 129, 31);
/* oklch */ color: oklch(53.9% 0.146 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba662',
    500: '#3f811f',
    950: '#000000',
  },
}
SCSS
$custom: #3f811f;
$custom-light: #7ba662;
$custom-dark: #000000;
JSON
{
  "hex": "#3f811f",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 100.408,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.14638,
    "h": 137.5
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#3F811F
secondary
#9148B4
accent
#43E4B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F811F

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

Preview Lab → · Contrast checker → · Palette generator →

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