#3F7D2A#3F7D2A

#3F7D2A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.133 H 138.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3F7D2A
RGBrgb(63, 125, 42)
HSLhsl(105, 50%, 33%)
HSVhsv(105, 66%, 49%)
CMYKcmyk(49.6%, 0%, 66.4%, 51%)
CIE-LABlab(46.83, -36.35, 37.97)
CIE-LCHlch(46.83, 52.57, 133.76°)
OKLaboklab(52.95% -0.1001 0.0878)
OKLCHoklch(52.95% 0.133 138.7)
XYZxyz(9.8011, 15.8905, 4.7408)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D2A #682A7D
analogous
#697D2A #3F7D2A #2A7D3E
triadic
#3F7D2A #2A3F7D #7D2A3F
tetradic
#3F7D2A #2A697D #682A7D #7D3E2A
square
#3F7D2A #2A697D #682A7D #7D3E2A
split-complementary
#3F7D2A #3E2A7D #7D2A69
monochromatic
#11210B #284F1B #3F7D2A #56AB39 #76C85A

Accessibility & contrast

On white

5.03
#3F7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3F7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7D2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D2A#FFFFFF#000000##FFFFFF
##3F7D2A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#3A796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d2a;
/* rgb */ color: rgb(63, 125, 42);
/* oklch */ color: oklch(52.9% 0.133 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aa367',
    500: '#3f7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d2a;
$custom-light: #7aa367;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d2a",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 104.819,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.13314,
    "h": 138.7
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#3F7D2A
secondary
#9756AD
accent
#4FD9B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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