#3F891F#3F891F

#3F891F is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.157 H 138.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F891F
RGBrgb(63, 137, 31)
HSLhsl(102, 63%, 33%)
HSVhsv(102, 77%, 54%)
CMYKcmyk(54%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.74, -42.24, 46.54)
CIE-LCHlch(50.74, 62.85, 132.22°)
OKLaboklab(56.13% -0.1167 0.1043)
OKLCHoklch(56.13% 0.157 138.2)
XYZxyz(11.2425, 19.0461, 4.3799)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F891F #691F89
analogous
#74891F #3F891F #1F8934
triadic
#3F891F #1F3F89 #891F3F
tetradic
#3F891F #1F7489 #691F89 #89341F
square
#3F891F #1F7489 #691F89 #89341F
split-complementary
#3F891F #341F89 #891F74
monochromatic
#112508 #285714 #3F891F #56BB2A #76D64C

Accessibility & contrast

On white

4.37
#3F891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3F891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F891F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F891F#FFFFFF#000000##000000
##3F891F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#398475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f891f;
/* rgb */ color: rgb(63, 137, 31);
/* oklch */ color: oklch(56.1% 0.157 138.2);
Tailwind
colors: {
  custom: {
    50: '#7cac63',
    500: '#3f891f',
    950: '#000000',
  },
}
SCSS
$custom: #3f891f;
$custom-light: #7cac63;
$custom-dark: #000000;
JSON
{
  "hex": "#3f891f",
  "rgb": {
    "r": 63,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 101.887,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.15655,
    "h": 138.2
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#3F891F
secondary
#984BB9
accent
#42E6B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F891F

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

Preview Lab → · Contrast checker → · Palette generator →

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