#3F8B1B#3F8B1B

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

Color values

HEX#3F8B1B
RGBrgb(63, 139, 27)
HSLhsl(101, 67%, 33%)
HSVhsv(101, 81%, 55%)
CMYKcmyk(54.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.38, -43.28, 48.52)
CIE-LCHlch(51.38, 65.02, 131.74°)
OKLaboklab(56.66% -0.1198 0.1078)
OKLCHoklch(56.66% 0.161 138)
XYZxyz(11.4799, 19.6002, 4.2150)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B1B #671B8B
analogous
#778B1B #3F8B1B #1B8B2F
triadic
#3F8B1B #1B3F8B #8B1B3F
tetradic
#3F8B1B #1B778B #671B8B #8B2F1B
square
#3F8B1B #1B778B #671B8B #8B2F1B
split-complementary
#3F8B1B #2F1B8B #8B1B77
monochromatic
#112507 #285811 #3F8B1B #56BE25 #76DB45

Accessibility & contrast

On white

4.27
#3F8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8B1B#FFFFFF#000000##000000
##3F8B1B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#398676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b1b;
/* rgb */ color: rgb(63, 139, 27);
/* oklch */ color: oklch(56.7% 0.161 138.0);
Tailwind
colors: {
  custom: {
    50: '#7dad61',
    500: '#3f8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b1b;
$custom-light: #7dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b1b",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 100.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.16118,
    "h": 138
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#3F8B1B
secondary
#9645BC
accent
#3DEAB3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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