#3F971A#3F971A

#3F971A is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.176 H 138.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#3F971A
RGBrgb(63, 151, 26)
HSLhsl(102, 71%, 35%)
HSVhsv(102, 83%, 59%)
CMYKcmyk(58.3%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.34, -47.91, 52.52)
CIE-LCHlch(55.34, 71.09, 132.38°)
OKLaboklab(59.92% -0.1323 0.1161)
OKLCHoklch(59.92% 0.176 138.7)
XYZxyz(13.3024, 23.2634, 4.7664)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F971A #721A97
analogous
#7E971A #3F971A #1A9734
triadic
#3F971A #1A3F97 #971A3F
tetradic
#3F971A #1A7E97 #721A97 #97341A
square
#3F971A #1A7E97 #721A97 #97341A
split-complementary
#3F971A #341A97 #971A7E
monochromatic
#132F08 #296311 #3F971A #55CB23 #77E04B

Accessibility & contrast

On white

3.71
#3F971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#3F971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F971A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F971A#FFFFFF#000000##000000
##3F971A1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#369280
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3f971a;
/* rgb */ color: rgb(63, 151, 26);
/* oklch */ color: oklch(59.9% 0.176 138.7);
Tailwind
colors: {
  custom: {
    50: '#7fb663',
    500: '#3f971a',
    950: '#000000',
  },
}
SCSS
$custom: #3f971a;
$custom-light: #7fb663;
$custom-dark: #000000;
JSON
{
  "hex": "#3f971a",
  "rgb": {
    "r": 63,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 102.24,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.17597,
    "h": 138.7
  },
  "luminance": 0.23265
}

Semantic roles & 50–950 ramp

primary
#3F971A
secondary
#9F4BC2
accent
#3AEDB8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F971A

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

Preview Lab → · Contrast checker → · Palette generator →

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