#3F8F1B#3F8F1B

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

Color values

HEX#3F8F1B
RGBrgb(63, 143, 27)
HSLhsl(101, 68%, 33%)
HSVhsv(101, 81%, 56%)
CMYKcmyk(55.9%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.71, -44.84, 49.77)
CIE-LCHlch(52.71, 66.99, 132.02°)
OKLaboklab(57.75% -0.124 0.1105)
OKLCHoklch(57.75% 0.166 138.3)
XYZxyz(12.0697, 20.7798, 4.4116)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F1B #6B1B8F
analogous
#798F1B #3F8F1B #1B8F31
triadic
#3F8F1B #1B3F8F #8F1B3F
tetradic
#3F8F1B #1B798F #6B1B8F #8F311B
square
#3F8F1B #1B798F #6B1B8F #8F311B
split-complementary
#3F8F1B #311B8F #8F1B79
monochromatic
#122808 #285C11 #3F8F1B #56C225 #76DC48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8F1B#FFFFFF#000000##000000
##3F8F1B1.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)
#948200
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#388A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f1b;
/* rgb */ color: rgb(63, 143, 27);
/* oklch */ color: oklch(57.7% 0.166 138.3);
Tailwind
colors: {
  custom: {
    50: '#7db062',
    500: '#3f8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f1b;
$custom-light: #7db062;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f1b",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 101.379,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.16603,
    "h": 138.3
  },
  "luminance": 0.20781
}

Semantic roles & 50–950 ramp

primary
#3F8F1B
secondary
#9948BE
accent
#3DEBB5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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