#3F981F#3F981F

#3F981F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.175 H 139.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F981F
RGBrgb(63, 152, 31)
HSLhsl(104, 66%, 36%)
HSVhsv(104, 80%, 60%)
CMYKcmyk(58.6%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.70, -48.00, 51.33)
CIE-LCHlch(55.70, 70.27, 133.08°)
OKLaboklab(60.22% -0.1322 0.1143)
OKLCHoklch(60.22% 0.175 139.2)
XYZxyz(13.5249, 23.6110, 5.1407)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F981F #781F98
analogous
#7B981F #3F981F #1F983B
triadic
#3F981F #1F3F98 #981F3F
tetradic
#3F981F #1F7B98 #781F98 #983B1F
square
#3F981F #1F7B98 #781F98 #983B1F
split-complementary
#3F981F #3B1F98 #981F7B
monochromatic
#15320A #2A6515 #3F981F #54CB29 #79DC55

Accessibility & contrast

On white

3.67
#3F981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#3F981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F981F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F981F#FFFFFF#000000##000000
##3F981F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#359382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3f981f;
/* rgb */ color: rgb(63, 152, 31);
/* oklch */ color: oklch(60.2% 0.175 139.2);
Tailwind
colors: {
  custom: {
    50: '#7fb765',
    500: '#3f981f',
    950: '#000000',
  },
}
SCSS
$custom: #3f981f;
$custom-light: #7fb765;
$custom-dark: #000000;
JSON
{
  "hex": "#3f981f",
  "rgb": {
    "r": 63,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 104.132,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60222,
    "c": 0.17478,
    "h": 139.2
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#3F981F
secondary
#A353C0
accent
#3FE9BC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F981F

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

Preview Lab → · Contrast checker → · Palette generator →

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