#3B951F#3B951F

#3B951F is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.3% C 0.173 H 139.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3B951F
RGBrgb(59, 149, 31)
HSLhsl(106, 66%, 35%)
HSVhsv(106, 79%, 58%)
CMYKcmyk(60.4%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.58, -47.94, 50.21)
CIE-LCHlch(54.58, 69.42, 133.67°)
OKLaboklab(59.26% -0.1318 0.112)
OKLCHoklch(59.26% 0.173 139.6)
XYZxyz(12.7978, 22.5225, 4.9689)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B951F #791F95
analogous
#76951F #3B951F #1F953E
triadic
#3B951F #1F3B95 #951F3B
tetradic
#3B951F #1F7695 #791F95 #953E1F
square
#3B951F #1F7695 #791F95 #953E1F
split-complementary
#3B951F #3E1F95 #951F76
monochromatic
#13300A #276214 #3B951F #4FC82A #73DB53

Accessibility & contrast

On white

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

On black

5.50
#3B951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B951F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B951F#FFFFFF#000000##000000
##3B951F1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b951f;
/* rgb */ color: rgb(59, 149, 31);
/* oklch */ color: oklch(59.3% 0.173 139.6);
Tailwind
colors: {
  custom: {
    50: '#7cb564',
    500: '#3b951f',
    950: '#000000',
  },
}
SCSS
$custom: #3b951f;
$custom-light: #7cb564;
$custom-dark: #000000;
JSON
{
  "hex": "#3b951f",
  "rgb": {
    "r": 59,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 105.763,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.17298,
    "h": 139.6
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#3B951F
secondary
#A551BF
accent
#3FE9C0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3B951F

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

Preview Lab → · Contrast checker → · Palette generator →

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