#3B981B#3B981B

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

Color values

HEX#3B981B
RGBrgb(59, 152, 27)
HSLhsl(105, 70%, 35%)
HSVhsv(105, 82%, 60%)
CMYKcmyk(61.2%, 0%, 82.2%, 40.4%)
CIE-LABlab(55.55, -49.27, 52.37)
CIE-LCHlch(55.55, 71.91, 133.25°)
OKLaboklab(60.06% -0.1356 0.116)
OKLCHoklch(60.06% 0.178 139.5)
XYZxyz(13.2291, 23.4642, 4.8686)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B981B #781B98
analogous
#79981B #3B981B #1B983A
triadic
#3B981B #1B3B98 #981B3B
tetradic
#3B981B #1B7998 #781B98 #983A1B
square
#3B981B #1B7998 #781B98 #983A1B
split-complementary
#3B981B #3A1B98 #981B79
monochromatic
#133009 #276412 #3B981B #4FCC24 #73E04E

Accessibility & contrast

On white

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

On black

5.69
#3B981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B981B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B981B#FFFFFF#000000##000000
##3B981B1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#2F9381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3b981b;
/* rgb */ color: rgb(59, 152, 27);
/* oklch */ color: oklch(60.1% 0.178 139.5);
Tailwind
colors: {
  custom: {
    50: '#7db763',
    500: '#3b981b',
    950: '#000000',
  },
}
SCSS
$custom: #3b981b;
$custom-light: #7db763;
$custom-dark: #000000;
JSON
{
  "hex": "#3b981b",
  "rgb": {
    "r": 59,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 104.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.17842,
    "h": 139.5
  },
  "luminance": 0.23465
}

Semantic roles & 50–950 ramp

primary
#3B981B
secondary
#A44DC2
accent
#3BEDBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3B981B

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

Preview Lab → · Contrast checker → · Palette generator →

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