#3F7C2F#3F7C2F

#3F7C2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.127 H 139.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3F7C2F
RGBrgb(63, 124, 47)
HSLhsl(108, 45%, 34%)
HSVhsv(108, 62%, 49%)
CMYKcmyk(49.2%, 0%, 62.1%, 51.4%)
CIE-LABlab(46.55, -35.38, 35.28)
CIE-LCHlch(46.55, 49.96, 135.08°)
OKLaboklab(52.73% -0.0971 0.0827)
OKLCHoklch(52.73% 0.127 139.6)
XYZxyz(9.7703, 15.6766, 5.1998)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C2F #6C2F7C
analogous
#657C2F #3F7C2F #2F7C45
triadic
#3F7C2F #2F3F7C #7C2F3F
tetradic
#3F7C2F #2F657C #6C2F7C #7C452F
square
#3F7C2F #2F657C #6C2F7C #7C452F
split-complementary
#3F7C2F #452F7C #7C2F65
monochromatic
#12230D #28501E #3F7C2F #56A840 #76C362

Accessibility & contrast

On white

5.08
#3F7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3F7C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C2F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C2F#FFFFFF#000000##FFFFFF
##3F7C2F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#3A786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c2f;
/* rgb */ color: rgb(63, 124, 47);
/* oklch */ color: oklch(52.7% 0.127 139.6);
Tailwind
colors: {
  custom: {
    50: '#79a26a',
    500: '#3f7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c2f;
$custom-light: #79a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c2f",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 107.532,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.12749,
    "h": 139.6
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#3F7C2F
secondary
#9A5CAA
accent
#53D5BA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #3F7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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