#3F8A1F#3F8A1F

#3F8A1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.158 H 138.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8A1F
RGBrgb(63, 138, 31)
HSLhsl(102, 63%, 33%)
HSVhsv(102, 78%, 54%)
CMYKcmyk(54.3%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.07, -42.63, 46.87)
CIE-LCHlch(51.07, 63.36, 132.29°)
OKLaboklab(56.41% -0.1178 0.105)
OKLCHoklch(56.41% 0.158 138.3)
XYZxyz(11.3853, 19.3318, 4.4275)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A1F #6A1F8A
analogous
#748A1F #3F8A1F #1F8A34
triadic
#3F8A1F #1F3F8A #8A1F3F
tetradic
#3F8A1F #1F748A #6A1F8A #8A341F
square
#3F8A1F #1F748A #6A1F8A #8A341F
split-complementary
#3F8A1F #341F8A #8A1F74
monochromatic
#112609 #285814 #3F8A1F #56BC2A #76D74C

Accessibility & contrast

On white

4.32
#3F8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A1F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A1F#FFFFFF#000000##000000
##3F8A1F1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E07
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#398576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a1f;
/* rgb */ color: rgb(63, 138, 31);
/* oklch */ color: oklch(56.4% 0.158 138.3);
Tailwind
colors: {
  custom: {
    50: '#7cad63',
    500: '#3f8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a1f;
$custom-light: #7cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a1f",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 102.056,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.1578,
    "h": 138.3
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#3F8A1F
secondary
#994BBA
accent
#41E6B5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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