#3D8D1F#3D8D1F

#3D8D1F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.162 H 138.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3D8D1F
RGBrgb(61, 141, 31)
HSLhsl(104, 64%, 34%)
HSVhsv(104, 78%, 55%)
CMYKcmyk(56.7%, 0%, 78%, 44.7%)
CIE-LABlab(51.99, -44.38, 47.74)
CIE-LCHlch(51.99, 65.19, 132.91°)
OKLaboklab(57.15% -0.1224 0.1068)
OKLCHoklch(57.15% 0.162 138.9)
XYZxyz(11.6962, 20.1398, 4.5671)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8D1F #6F1F8D
analogous
#748D1F #3D8D1F #1F8D38
triadic
#3D8D1F #1F3D8D #8D1F3D
tetradic
#3D8D1F #1F748D #6F1F8D #8D381F
square
#3D8D1F #1F748D #6F1F8D #8D381F
split-complementary
#3D8D1F #381F8D #8D1F74
monochromatic
#122909 #275B14 #3D8D1F #53BF2A #74D84E

Accessibility & contrast

On white

4.18
#3D8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3D8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8D1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8D1F#FFFFFF#000000##000000
##3D8D1F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#358878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3d8d1f;
/* rgb */ color: rgb(61, 141, 31);
/* oklch */ color: oklch(57.1% 0.162 138.9);
Tailwind
colors: {
  custom: {
    50: '#7caf63',
    500: '#3d8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #3d8d1f;
$custom-light: #7caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8d1f",
  "rgb": {
    "r": 61,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 103.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.16245,
    "h": 138.9
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#3D8D1F
secondary
#9D4DBB
accent
#41E7BA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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