#3F8F20#3F8F20

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

Color values

HEX#3F8F20
RGBrgb(63, 143, 32)
HSLhsl(103, 63%, 34%)
HSVhsv(103, 78%, 56%)
CMYKcmyk(55.9%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.74, -44.52, 48.14)
CIE-LCHlch(52.74, 65.57, 132.76°)
OKLaboklab(57.78% -0.1228 0.1078)
OKLCHoklch(57.78% 0.163 138.7)
XYZxyz(12.1326, 20.8050, 4.7426)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F20 #70208F
analogous
#778F20 #3F8F20 #208F38
triadic
#3F8F20 #203F8F #8F203F
tetradic
#3F8F20 #20778F #70208F #8F3820
square
#3F8F20 #20778F #70208F #8F3820
split-complementary
#3F8F20 #38208F #8F2077
monochromatic
#132B0A #295D15 #3F8F20 #55C12B #77D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8F20#FFFFFF#000000##000000
##3F8F201.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)
#938206
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#378A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f20;
/* rgb */ color: rgb(63, 143, 32);
/* oklch */ color: oklch(57.8% 0.163 138.7);
Tailwind
colors: {
  custom: {
    50: '#7db064',
    500: '#3f8f20',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f20;
$custom-light: #7db064;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f20",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 103.243,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.1634,
    "h": 138.7
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#3F8F20
secondary
#9D4FBB
accent
#41E6B8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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