#3F8A20#3F8A20

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

Color values

HEX#3F8A20
RGBrgb(63, 138, 32)
HSLhsl(102, 62%, 33%)
HSVhsv(102, 77%, 54%)
CMYKcmyk(54.3%, 0%, 76.8%, 45.9%)
CIE-LABlab(51.08, -42.56, 46.52)
CIE-LCHlch(51.08, 63.05, 132.46°)
OKLaboklab(56.42% -0.1175 0.1044)
OKLCHoklch(56.42% 0.157 138.4)
XYZxyz(11.3987, 19.3371, 4.4980)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A20 #6B208A
analogous
#748A20 #3F8A20 #208A36
triadic
#3F8A20 #203F8A #8A203F
tetradic
#3F8A20 #20748A #6B208A #8A3620
square
#3F8A20 #20748A #6B208A #8A3620
split-complementary
#3F8A20 #36208A #8A2074
monochromatic
#122709 #285814 #3F8A20 #56BC2C #76D64E

Accessibility & contrast

On white

4.31
#3F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A20#FFFFFF#000000##000000
##3F8A201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E09
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#398576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a20;
/* rgb */ color: rgb(63, 138, 32);
/* oklch */ color: oklch(56.4% 0.157 138.4);
Tailwind
colors: {
  custom: {
    50: '#7cad63',
    500: '#3f8a20',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a20;
$custom-light: #7cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a20",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 102.453,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.15721,
    "h": 138.4
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#3F8A20
secondary
#994DB9
accent
#42E5B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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