#3B981C#3B981C

#3B981C 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#3B981C
RGBrgb(59, 152, 28)
HSLhsl(105, 69%, 35%)
HSVhsv(105, 82%, 60%)
CMYKcmyk(61.2%, 0%, 81.6%, 40.4%)
CIE-LABlab(55.55, -49.22, 52.08)
CIE-LCHlch(55.55, 71.66, 133.38°)
OKLaboklab(60.06% -0.1354 0.1155)
OKLCHoklch(60.06% 0.178 139.5)
XYZxyz(13.2409, 23.4689, 4.9306)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B981C #791C98
analogous
#79981C #3B981C #1C983B
triadic
#3B981C #1C3B98 #981C3B
tetradic
#3B981C #1C7998 #791C98 #983B1C
square
#3B981C #1C7998 #791C98 #983B1C
split-complementary
#3B981C #3B1C98 #981C79
monochromatic
#133109 #276412 #3B981C #4FCC26 #73DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B981C#FFFFFF#000000##000000
##3B981C1.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)
#9C8A00
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#2F9381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3b981c;
/* rgb */ color: rgb(59, 152, 28);
/* oklch */ color: oklch(60.1% 0.178 139.5);
Tailwind
colors: {
  custom: {
    50: '#7db764',
    500: '#3b981c',
    950: '#000000',
  },
}
SCSS
$custom: #3b981c;
$custom-light: #7db764;
$custom-dark: #000000;
JSON
{
  "hex": "#3b981c",
  "rgb": {
    "r": 59,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 105,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.17796,
    "h": 139.5
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#3B981C
secondary
#A54EC1
accent
#3CECC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3B981C

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

Preview Lab → · Contrast checker → · Palette generator →

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