#3F8A1B#3F8A1B

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

Color values

HEX#3F8A1B
RGBrgb(63, 138, 27)
HSLhsl(101, 67%, 32%)
HSVhsv(101, 80%, 54%)
CMYKcmyk(54.3%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.05, -42.89, 48.21)
CIE-LCHlch(51.05, 64.53, 131.66°)
OKLaboklab(56.38% -0.1187 0.1072)
OKLCHoklch(56.38% 0.16 137.9)
XYZxyz(11.3358, 19.3120, 4.1669)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A1B #661B8A
analogous
#768A1B #3F8A1B #1B8A2F
triadic
#3F8A1B #1B3F8A #8A1B3F
tetradic
#3F8A1B #1B768A #661B8A #8A2F1B
square
#3F8A1B #1B768A #661B8A #8A2F1B
split-complementary
#3F8A1B #2F1B8A #8A1B76
monochromatic
#102407 #285711 #3F8A1B #56BD25 #75DB45

Accessibility & contrast

On white

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

On black

4.86
#3F8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A1B#FFFFFF#000000##000000
##3F8A1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a1b;
/* rgb */ color: rgb(63, 138, 27);
/* oklch */ color: oklch(56.4% 0.160 137.9);
Tailwind
colors: {
  custom: {
    50: '#7dad61',
    500: '#3f8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a1b;
$custom-light: #7dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a1b",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 100.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.15996,
    "h": 137.9
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#3F8A1B
secondary
#9545BC
accent
#3EEAB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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