#3A981B#3A981B

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

Color values

HEX#3A981B
RGBrgb(58, 152, 27)
HSLhsl(105, 70%, 35%)
HSVhsv(105, 82%, 60%)
CMYKcmyk(61.8%, 0%, 82.2%, 40.4%)
CIE-LABlab(55.52, -49.52, 52.33)
CIE-LCHlch(55.52, 72.05, 133.42°)
OKLaboklab(60.02% -0.1362 0.1159)
OKLCHoklch(60.02% 0.179 139.6)
XYZxyz(13.1704, 23.4339, 4.8658)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A981B #791B98
analogous
#78981B #3A981B #1B983B
triadic
#3A981B #1B3A98 #981B3A
tetradic
#3A981B #1B7898 #791B98 #983B1B
square
#3A981B #1B7898 #791B98 #983B1B
split-complementary
#3A981B #3B1B98 #981B78
monochromatic
#123009 #266412 #3A981B #4ECC24 #72E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A981B#FFFFFF#000000##000000
##3A981B1.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)
#91822A
Tritanopia (blue-blind)
#2E9381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3a981b;
/* rgb */ color: rgb(58, 152, 27);
/* oklch */ color: oklch(60.0% 0.179 139.6);
Tailwind
colors: {
  custom: {
    50: '#7cb763',
    500: '#3a981b',
    950: '#000000',
  },
}
SCSS
$custom: #3a981b;
$custom-light: #7cb763;
$custom-dark: #000000;
JSON
{
  "hex": "#3a981b",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 105.12,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.17884,
    "h": 139.6
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#3A981B
secondary
#A54DC2
accent
#3BEDC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A981B

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

Preview Lab → · Contrast checker → · Palette generator →

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