#3F8D2F#3F8D2F

#3F8D2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.151 H 140.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3F8D2F
RGBrgb(63, 141, 47)
HSLhsl(110, 50%, 37%)
HSVhsv(110, 67%, 55%)
CMYKcmyk(55.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(52.19, -42.47, 41.57)
CIE-LCHlch(52.19, 59.43, 135.61°)
OKLaboklab(57.36% -0.1163 0.0961)
OKLCHoklch(57.36% 0.151 140.4)
XYZxyz(12.0873, 20.3108, 5.9722)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D2F #7D2F8D
analogous
#6E8D2F #3F8D2F #2F8D4E
triadic
#3F8D2F #2F3F8D #8D2F3F
tetradic
#3F8D2F #2F6E8D #7D2F8D #8D4E2F
square
#3F8D2F #2F6E8D #7D2F8D #8D4E2F
split-complementary
#3F8D2F #4E2F8D #8D2F6E
monochromatic
#163110 #2A5F20 #3F8D2F #54BB3E #7ACD69

Accessibility & contrast

On white

4.15
#3F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3F8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8D2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8D2F#FFFFFF#000000##000000
##3F8D2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#36897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d2f;
/* rgb */ color: rgb(63, 141, 47);
/* oklch */ color: oklch(57.4% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#7caf6c',
    500: '#3f8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d2f;
$custom-light: #7caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d2f",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 109.787,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.15084,
    "h": 140.4
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#3F8D2F
secondary
#A664B4
accent
#4EDAC2
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #3F8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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