#3F8A42#3F8A42

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

Color values

HEX#3F8A42
RGBrgb(63, 138, 66)
HSLhsl(122, 37%, 39%)
HSVhsv(122, 54%, 54%)
CMYKcmyk(54.3%, 0%, 52.2%, 45.9%)
CIE-LABlab(51.41, -38.89, 31.42)
CIE-LCHlch(51.41, 50.00, 141.07°)
OKLaboklab(56.79% -0.1056 0.0757)
OKLCHoklch(56.79% 0.13 144.4)
XYZxyz(12.1211, 19.6261, 8.3027)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A42 #8A3F87
analogous
#628A3F #3F8A42 #3F8A68
triadic
#3F8A42 #423F8A #8A423F
tetradic
#3F8A42 #3F628A #8A3F87 #8A683F
square
#3F8A42 #3F628A #8A3F87 #8A683F
split-complementary
#3F8A42 #683F8A #8A3F62
monochromatic
#19361A #2C602E #3F8A42 #55B159 #7FC582

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8A42#FFFFFF#000000##000000
##3F8A421.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)
#8C7F3C
Deuteranopia (green-blind)
#827847
Tritanopia (blue-blind)
#338779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a42;
/* rgb */ color: rgb(63, 138, 66);
/* oklch */ color: oklch(56.8% 0.130 144.4);
Tailwind
colors: {
  custom: {
    50: '#7bad78',
    500: '#3f8a42',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a42;
$custom-light: #7bad78;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a42",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 122.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.12998,
    "h": 144.4
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#3F8A42
secondary
#AF76AC
accent
#5BC9CD
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #3F8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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