#3F8F1F#3F8F1F

#3F8F1F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.164 H 138.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3F8F1F
RGBrgb(63, 143, 31)
HSLhsl(103, 64%, 34%)
HSVhsv(103, 78%, 56%)
CMYKcmyk(55.9%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.73, -44.59, 48.48)
CIE-LCHlch(52.73, 65.87, 132.60°)
OKLaboklab(57.77% -0.123 0.1084)
OKLCHoklch(57.77% 0.164 138.6)
XYZxyz(12.1192, 20.7996, 4.6722)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F1F #6F1F8F
analogous
#778F1F #3F8F1F #1F8F37
triadic
#3F8F1F #1F3F8F #8F1F3F
tetradic
#3F8F1F #1F778F #6F1F8F #8F371F
square
#3F8F1F #1F778F #6F1F8F #8F371F
split-complementary
#3F8F1F #371F8F #8F1F77
monochromatic
#132A09 #295D14 #3F8F1F #55C12A #77D94F

Accessibility & contrast

On white

4.07
#3F8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#3F8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F1F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F1F#FFFFFF#000000##000000
##3F8F1F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#388A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f1f;
/* rgb */ color: rgb(63, 143, 31);
/* oklch */ color: oklch(57.8% 0.164 138.6);
Tailwind
colors: {
  custom: {
    50: '#7db064',
    500: '#3f8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f1f;
$custom-light: #7db064;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f1f",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 102.857,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.16395,
    "h": 138.6
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#3F8F1F
secondary
#9C4EBC
accent
#40E7B8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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