#3F8B20#3F8B20

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

Color values

HEX#3F8B20
RGBrgb(63, 139, 32)
HSLhsl(103, 63%, 34%)
HSVhsv(103, 77%, 55%)
CMYKcmyk(54.7%, 0%, 77%, 45.5%)
CIE-LABlab(51.41, -42.96, 46.84)
CIE-LCHlch(51.41, 63.56, 132.52°)
OKLaboklab(56.69% -0.1186 0.1051)
OKLCHoklch(56.69% 0.158 138.5)
XYZxyz(11.5428, 19.6254, 4.5460)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B20 #6C208B
analogous
#748B20 #3F8B20 #208B36
triadic
#3F8B20 #203F8B #8B203F
tetradic
#3F8B20 #20748B #6C208B #8B3620
square
#3F8B20 #20748B #6C208B #8B3620
split-complementary
#3F8B20 #36208B #8B2074
monochromatic
#122809 #285915 #3F8B20 #56BD2B #76D64F

Accessibility & contrast

On white

4.26
#3F8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3F8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B20#FFFFFF#000000##000000
##3F8B201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b20;
/* rgb */ color: rgb(63, 139, 32);
/* oklch */ color: oklch(56.7% 0.158 138.5);
Tailwind
colors: {
  custom: {
    50: '#7cad64',
    500: '#3f8b20',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b20;
$custom-light: #7cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b20",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 102.617,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.15846,
    "h": 138.5
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#3F8B20
secondary
#9A4DBA
accent
#42E6B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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