#3F951F#3F951F

#3F951F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.171 H 139.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3F951F
RGBrgb(63, 149, 31)
HSLhsl(104, 66%, 35%)
HSVhsv(104, 79%, 58%)
CMYKcmyk(57.7%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.71, -46.88, 50.39)
CIE-LCHlch(54.71, 68.82, 132.93°)
OKLaboklab(59.41% -0.1292 0.1123)
OKLCHoklch(59.41% 0.171 139)
XYZxyz(13.0441, 22.6495, 4.9805)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F951F #751F95
analogous
#7A951F #3F951F #1F953A
triadic
#3F951F #1F3F95 #951F3F
tetradic
#3F951F #1F7A95 #751F95 #953A1F
square
#3F951F #1F7A95 #751F95 #953A1F
split-complementary
#3F951F #3A1F95 #951F7A
monochromatic
#14300A #2A6214 #3F951F #54C82A #78DB53

Accessibility & contrast

On white

3.80
#3F951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#3F951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F951F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F951F#FFFFFF#000000##000000
##3F951F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#36907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3f951f;
/* rgb */ color: rgb(63, 149, 31);
/* oklch */ color: oklch(59.4% 0.171 139.0);
Tailwind
colors: {
  custom: {
    50: '#7eb565',
    500: '#3f951f',
    950: '#000000',
  },
}
SCSS
$custom: #3f951f;
$custom-light: #7eb565;
$custom-dark: #000000;
JSON
{
  "hex": "#3f951f",
  "rgb": {
    "r": 63,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 103.729,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.17122,
    "h": 139
  },
  "luminance": 0.22651
}

Semantic roles & 50–950 ramp

primary
#3F951F
secondary
#A151BF
accent
#3FE9BB
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F951F

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

Preview Lab → · Contrast checker → · Palette generator →

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