#3D951F#3D951F

#3D951F is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.3% C 0.172 H 139.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3D951F
RGBrgb(61, 149, 31)
HSLhsl(105, 66%, 35%)
HSVhsv(105, 79%, 58%)
CMYKcmyk(59.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.64, -47.41, 50.30)
CIE-LCHlch(54.64, 69.12, 133.31°)
OKLaboklab(59.33% -0.1305 0.1122)
OKLCHoklch(59.33% 0.172 139.3)
XYZxyz(12.9187, 22.5848, 4.9746)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D951F #771F95
analogous
#78951F #3D951F #1F953C
triadic
#3D951F #1F3D95 #951F3D
tetradic
#3D951F #1F7895 #771F95 #953C1F
square
#3D951F #1F7895 #771F95 #953C1F
split-complementary
#3D951F #3C1F95 #951F78
monochromatic
#14300A #286214 #3D951F #52C82A #76DB53

Accessibility & contrast

On white

3.81
#3D951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#3D951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D951F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D951F#FFFFFF#000000##000000
##3D951F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#33907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3d951f;
/* rgb */ color: rgb(61, 149, 31);
/* oklch */ color: oklch(59.3% 0.172 139.3);
Tailwind
colors: {
  custom: {
    50: '#7db565',
    500: '#3d951f',
    950: '#000000',
  },
}
SCSS
$custom: #3d951f;
$custom-light: #7db565;
$custom-dark: #000000;
JSON
{
  "hex": "#3d951f",
  "rgb": {
    "r": 61,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 104.746,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.17211,
    "h": 139.3
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#3D951F
secondary
#A351BF
accent
#3FE9BD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3D951F

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

Preview Lab → · Contrast checker → · Palette generator →

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