#3F7F2F#3F7F2F

#3F7F2F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.132 H 139.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3F7F2F
RGBrgb(63, 127, 47)
HSLhsl(108, 46%, 34%)
HSVhsv(108, 63%, 50%)
CMYKcmyk(50.4%, 0%, 63%, 50.2%)
CIE-LABlab(47.55, -36.67, 36.41)
CIE-LCHlch(47.55, 51.68, 135.20°)
OKLaboklab(53.55% -0.1006 0.0851)
OKLCHoklch(53.55% 0.132 139.8)
XYZxyz(10.1520, 16.4400, 5.3271)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7F2F #6F2F7F
analogous
#677F2F #3F7F2F #2F7F47
triadic
#3F7F2F #2F3F7F #7F2F3F
tetradic
#3F7F2F #2F677F #6F2F7F #7F472F
square
#3F7F2F #2F677F #6F2F7F #7F472F
split-complementary
#3F7F2F #472F7F #7F2F67
monochromatic
#13260E #29521E #3F7F2F #55AC40 #77C563

Accessibility & contrast

On white

4.90
#3F7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3F7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7F2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7F2F#FFFFFF#000000##FFFFFF
##3F7F2F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#397B6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f7f2f;
/* rgb */ color: rgb(63, 127, 47);
/* oklch */ color: oklch(53.5% 0.132 139.8);
Tailwind
colors: {
  custom: {
    50: '#7aa56b',
    500: '#3f7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #3f7f2f;
$custom-light: #7aa56b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7f2f",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 108,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.13175,
    "h": 139.8
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#3F7F2F
secondary
#9C5EAC
accent
#52D6BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #3F7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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