#3F812E#3F812E

#3F812E is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.135 H 139.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3F812E
RGBrgb(63, 129, 46)
HSLhsl(108, 47%, 34%)
HSVhsv(108, 64%, 51%)
CMYKcmyk(51.2%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.20, -37.64, 37.63)
CIE-LCHlch(48.20, 53.22, 135.01°)
OKLaboklab(54.08% -0.1033 0.0876)
OKLCHoklch(54.08% 0.135 139.7)
XYZxyz(10.3929, 16.9538, 5.3090)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F812E #702E81
analogous
#69812E #3F812E #2E8147
triadic
#3F812E #2E3F81 #812E3F
tetradic
#3F812E #2E6981 #702E81 #81472E
square
#3F812E #2E6981 #702E81 #81472E
split-complementary
#3F812E #472E81 #812E69
monochromatic
#13270E #29541E #3F812E #55AE3E #77C762

Accessibility & contrast

On white

4.78
#3F812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3F812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F812E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F812E#FFFFFF#000000##FFFFFF
##3F812E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#397D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f812e;
/* rgb */ color: rgb(63, 129, 46);
/* oklch */ color: oklch(54.1% 0.135 139.7);
Tailwind
colors: {
  custom: {
    50: '#7aa66a',
    500: '#3f812e',
    950: '#000000',
  },
}
SCSS
$custom: #3f812e;
$custom-light: #7aa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f812e",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 107.711,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.13539,
    "h": 139.7
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#3F812E
secondary
#9D5DAE
accent
#51D7BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #3F812E

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

Preview Lab → · Contrast checker → · Palette generator →

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