#3F8020#3F8020

#3F8020 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.7% C 0.144 H 137.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8020
RGBrgb(63, 128, 32)
HSLhsl(101, 60%, 31%)
HSVhsv(101, 75%, 50%)
CMYKcmyk(50.8%, 0%, 75%, 49.8%)
CIE-LABlab(47.75, -38.51, 43.20)
CIE-LCHlch(47.75, 57.87, 131.72°)
OKLaboklab(53.67% -0.1066 0.0975)
OKLCHoklch(53.67% 0.144 137.6)
XYZxyz(10.0295, 16.5987, 4.0416)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8020 #612080
analogous
#6F8020 #3F8020 #208031
triadic
#3F8020 #203F80 #80203F
tetradic
#3F8020 #206F80 #612080 #803120
square
#3F8020 #206F80 #612080 #803120
split-complementary
#3F8020 #312080 #80206F
monochromatic
#0F1E08 #274F14 #3F8020 #57B12C #75D149

Accessibility & contrast

On white

4.86
#3F8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3F8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8020
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8020#FFFFFF#000000##FFFFFF
##3F80201.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750F
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8020;
/* rgb */ color: rgb(63, 128, 32);
/* oklch */ color: oklch(53.7% 0.144 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba562',
    500: '#3f8020',
    950: '#000000',
  },
}
SCSS
$custom: #3f8020;
$custom-light: #7ba562;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8020",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 100.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.14446,
    "h": 137.6
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#3F8020
secondary
#9149B3
accent
#45E3B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F8020

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

Preview Lab → · Contrast checker → · Palette generator →

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