#3D841F#3D841F

#3D841F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.151 H 138.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3D841F
RGBrgb(61, 132, 31)
HSLhsl(102, 62%, 32%)
HSVhsv(102, 77%, 52%)
CMYKcmyk(53.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.00, -40.84, 44.80)
CIE-LCHlch(49.00, 60.62, 132.35°)
OKLaboklab(54.68% -0.1128 0.1007)
OKLCHoklch(54.68% 0.151 138.3)
XYZxyz(10.4227, 17.5928, 4.1426)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D841F #661F84
analogous
#70841F #3D841F #1F8434
triadic
#3D841F #1F3D84 #841F3D
tetradic
#3D841F #1F7084 #661F84 #84341F
square
#3D841F #1F7084 #661F84 #84341F
split-complementary
#3D841F #341F84 #841F70
monochromatic
#0F2108 #265213 #3D841F #54B62B #72D449

Accessibility & contrast

On white

4.65
#3D841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3D841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D841F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D841F#FFFFFF#000000##FFFFFF
##3D841F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#377F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d841f;
/* rgb */ color: rgb(61, 132, 31);
/* oklch */ color: oklch(54.7% 0.151 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aa862',
    500: '#3d841f',
    950: '#000000',
  },
}
SCSS
$custom: #3d841f;
$custom-light: #7aa862;
$custom-dark: #000000;
JSON
{
  "hex": "#3d841f",
  "rgb": {
    "r": 61,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 102.178,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.15123,
    "h": 138.3
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#3D841F
secondary
#9648B7
accent
#43E5B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3D841F

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

Preview Lab → · Contrast checker → · Palette generator →

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