#3F8B1F#3F8B1F

#3F8B1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.159 H 138.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3F8B1F
RGBrgb(63, 139, 31)
HSLhsl(102, 64%, 33%)
HSVhsv(102, 78%, 55%)
CMYKcmyk(54.7%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.40, -43.03, 47.19)
CIE-LCHlch(51.40, 63.86, 132.36°)
OKLaboklab(56.68% -0.1189 0.1057)
OKLCHoklch(56.68% 0.159 138.4)
XYZxyz(11.5294, 19.6200, 4.4755)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B1F #6B1F8B
analogous
#758B1F #3F8B1F #1F8B35
triadic
#3F8B1F #1F3F8B #8B1F3F
tetradic
#3F8B1F #1F758B #6B1F8B #8B351F
square
#3F8B1F #1F758B #6B1F8B #8B351F
split-complementary
#3F8B1F #351F8B #8B1F75
monochromatic
#122709 #285914 #3F8B1F #56BD2A #76D74D

Accessibility & contrast

On white

4.26
#3F8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3F8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B1F#FFFFFF#000000##000000
##3F8B1F1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b1f;
/* rgb */ color: rgb(63, 139, 31);
/* oklch */ color: oklch(56.7% 0.159 138.4);
Tailwind
colors: {
  custom: {
    50: '#7dad63',
    500: '#3f8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b1f;
$custom-light: #7dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b1f",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 102.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.15903,
    "h": 138.4
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#3F8B1F
secondary
#994CBA
accent
#41E7B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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