#3F7342#3F7342

#3F7342 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.6% C 0.095 H 145.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3F7342
RGBrgb(63, 115, 66)
HSLhsl(123, 29%, 35%)
HSVhsv(123, 45%, 45%)
CMYKcmyk(45.2%, 0%, 42.6%, 54.9%)
CIE-LABlab(43.82, -28.56, 21.82)
CIE-LCHlch(43.82, 35.94, 142.62°)
OKLaboklab(50.58% -0.0777 0.0539)
OKLCHoklch(50.58% 0.095 145.2)
XYZxyz(9.1635, 13.7110, 7.3168)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7342 #733F70
analogous
#56733F #3F7342 #3F735C
triadic
#3F7342 #423F73 #73423F
tetradic
#3F7342 #3F5673 #733F70 #735C3F
square
#3F7342 #3F5673 #733F70 #735C3F
split-complementary
#3F7342 #5C3F73 #733F56
monochromatic
#142415 #294B2B #3F7342 #559B59 #78B57B

Accessibility & contrast

On white

5.61
#3F7342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3F7342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7342
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7342#FFFFFF#000000##FFFFFF
##3F73421.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6D6645
Tritanopia (blue-blind)
#387167
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f7342;
/* rgb */ color: rgb(63, 115, 66);
/* oklch */ color: oklch(50.6% 0.095 145.2);
Tailwind
colors: {
  custom: {
    50: '#779c77',
    500: '#3f7342',
    950: '#000000',
  },
}
SCSS
$custom: #3f7342;
$custom-light: #779c77;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7342",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 123.462,
    "s": 29.213,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.09457,
    "h": 145.2
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#3F7342
secondary
#9F6E9D
accent
#62C0C5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #3F7342

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

Preview Lab → · Contrast checker → · Palette generator →

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