#3B981A#3B981A

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

Color values

HEX#3B981A
RGBrgb(59, 152, 26)
HSLhsl(104, 71%, 35%)
HSVhsv(104, 83%, 60%)
CMYKcmyk(61.2%, 0%, 82.9%, 40.4%)
CIE-LABlab(55.54, -49.33, 52.66)
CIE-LCHlch(55.54, 72.15, 133.13°)
OKLaboklab(60.05% -0.1358 0.1164)
OKLCHoklch(60.05% 0.179 139.4)
XYZxyz(13.2178, 23.4597, 4.8087)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B981A #771A98
analogous
#7A981A #3B981A #1A9838
triadic
#3B981A #1A3B98 #981A3B
tetradic
#3B981A #1A7A98 #771A98 #98381A
square
#3B981A #1A7A98 #771A98 #98381A
split-complementary
#3B981A #381A98 #981A7A
monochromatic
#122F08 #276411 #3B981A #4FCC23 #73E04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B981A#FFFFFF#000000##000000
##3B981A1.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: #3b981a;
/* rgb */ color: rgb(59, 152, 26);
/* oklch */ color: oklch(60.1% 0.179 139.4);
Tailwind
colors: {
  custom: {
    50: '#7db763',
    500: '#3b981a',
    950: '#000000',
  },
}
SCSS
$custom: #3b981a;
$custom-light: #7db763;
$custom-dark: #000000;
JSON
{
  "hex": "#3b981a",
  "rgb": {
    "r": 59,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 104.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.17886,
    "h": 139.4
  },
  "luminance": 0.23461
}

Semantic roles & 50–950 ramp

primary
#3B981A
secondary
#A34BC2
accent
#3AEEBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3B981A

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

Preview Lab → · Contrast checker → · Palette generator →

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