#3F971B#3F971B

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

Color values

HEX#3F971B
RGBrgb(63, 151, 27)
HSLhsl(103, 70%, 35%)
HSVhsv(103, 82%, 59%)
CMYKcmyk(58.3%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.35, -47.86, 52.23)
CIE-LCHlch(55.35, 70.84, 132.50°)
OKLaboklab(59.93% -0.1321 0.1156)
OKLCHoklch(59.93% 0.176 138.8)
XYZxyz(13.3138, 23.2680, 4.8263)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F971B #731B97
analogous
#7D971B #3F971B #1B9735
triadic
#3F971B #1B3F97 #971B3F
tetradic
#3F971B #1B7D97 #731B97 #97351B
square
#3F971B #1B7D97 #731B97 #97351B
split-complementary
#3F971B #351B97 #971B7D
monochromatic
#142F08 #296312 #3F971B #55CB24 #78DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F971B#FFFFFF#000000##000000
##3F971B1.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: #3f971b;
/* rgb */ color: rgb(63, 151, 27);
/* oklch */ color: oklch(59.9% 0.176 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb663',
    500: '#3f971b',
    950: '#000000',
  },
}
SCSS
$custom: #3f971b;
$custom-light: #7fb663;
$custom-dark: #000000;
JSON
{
  "hex": "#3f971b",
  "rgb": {
    "r": 63,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 102.581,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.17552,
    "h": 138.8
  },
  "luminance": 0.23269
}

Semantic roles & 50–950 ramp

primary
#3F971B
secondary
#9F4CC1
accent
#3BECB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F971B

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

Preview Lab → · Contrast checker → · Palette generator →

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