#3F8B2C#3F8B2C

#3F8B2C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.150 H 139.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3F8B2C
RGBrgb(63, 139, 44)
HSLhsl(108, 52%, 36%)
HSVhsv(108, 68%, 55%)
CMYKcmyk(54.7%, 0%, 68.3%, 45.5%)
CIE-LABlab(51.50, -41.96, 42.15)
CIE-LCHlch(51.50, 59.48, 134.87°)
OKLaboklab(56.79% -0.1151 0.0969)
OKLCHoklch(56.79% 0.15 139.9)
XYZxyz(11.7366, 19.7029, 5.5670)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B2C #782C8B
analogous
#6E8B2C #3F8B2C #2C8B48
triadic
#3F8B2C #2C3F8B #8B2C3F
tetradic
#3F8B2C #2C6E8B #782C8B #8B482C
square
#3F8B2C #2C6E8B #782C8B #8B482C
split-complementary
#3F8B2C #482C8B #8B2C6E
monochromatic
#152E0F #2A5D1D #3F8B2C #54B93B #79CE64

Accessibility & contrast

On white

4.25
#3F8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3F8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B2C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B2C#FFFFFF#000000##000000
##3F8B2C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#378678
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f8b2c;
/* rgb */ color: rgb(63, 139, 44);
/* oklch */ color: oklch(56.8% 0.150 139.9);
Tailwind
colors: {
  custom: {
    50: '#7cad6a',
    500: '#3f8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b2c;
$custom-light: #7cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b2c",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 108,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.15049,
    "h": 139.9
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#3F8B2C
secondary
#A35FB4
accent
#4CDBBF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #3F8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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