#3B981F#3B981F

#3B981F is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.177 H 139.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3B981F
RGBrgb(59, 152, 31)
HSLhsl(106, 66%, 36%)
HSVhsv(106, 80%, 60%)
CMYKcmyk(61.2%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.57, -49.04, 51.16)
CIE-LCHlch(55.57, 70.87, 133.79°)
OKLaboklab(60.08% -0.1348 0.114)
OKLCHoklch(60.08% 0.177 139.8)
XYZxyz(13.2786, 23.4840, 5.1292)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B981F #7C1F98
analogous
#77981F #3B981F #1F9840
triadic
#3B981F #1F3B98 #981F3B
tetradic
#3B981F #1F7798 #7C1F98 #98401F
square
#3B981F #1F7798 #7C1F98 #98401F
split-complementary
#3B981F #401F98 #981F77
monochromatic
#14320A #276515 #3B981F #4FCB29 #74DC55

Accessibility & contrast

On white

3.69
#3B981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#3B981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B981F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B981F#FFFFFF#000000##000000
##3B981F1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#2F9382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3b981f;
/* rgb */ color: rgb(59, 152, 31);
/* oklch */ color: oklch(60.1% 0.177 139.8);
Tailwind
colors: {
  custom: {
    50: '#7db765',
    500: '#3b981f',
    950: '#000000',
  },
}
SCSS
$custom: #3b981f;
$custom-light: #7db765;
$custom-dark: #000000;
JSON
{
  "hex": "#3b981f",
  "rgb": {
    "r": 59,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 106.116,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.17651,
    "h": 139.8
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#3B981F
secondary
#A753C0
accent
#3FE9C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3B981F

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

Preview Lab → · Contrast checker → · Palette generator →

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