#3A981F#3A981F

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

Color values

HEX#3A981F
RGBrgb(58, 152, 31)
HSLhsl(107, 66%, 36%)
HSVhsv(107, 80%, 60%)
CMYKcmyk(61.8%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.54, -49.29, 51.12)
CIE-LCHlch(55.54, 71.01, 133.95°)
OKLaboklab(60.05% -0.1354 0.1139)
OKLCHoklch(60.05% 0.177 139.9)
XYZxyz(13.2199, 23.4537, 5.1264)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A981F #7D1F98
analogous
#76981F #3A981F #1F9841
triadic
#3A981F #1F3A98 #981F3A
tetradic
#3A981F #1F7698 #7D1F98 #98411F
square
#3A981F #1F7698 #7D1F98 #98411F
split-complementary
#3A981F #411F98 #981F76
monochromatic
#13320A #276515 #3A981F #4DCB29 #73DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A981F#FFFFFF#000000##000000
##3A981F1.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)
#91822D
Tritanopia (blue-blind)
#2D9382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3a981f;
/* rgb */ color: rgb(58, 152, 31);
/* oklch */ color: oklch(60.0% 0.177 139.9);
Tailwind
colors: {
  custom: {
    50: '#7cb765',
    500: '#3a981f',
    950: '#000000',
  },
}
SCSS
$custom: #3a981f;
$custom-light: #7cb765;
$custom-dark: #000000;
JSON
{
  "hex": "#3a981f",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 106.612,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.17693,
    "h": 139.9
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#3A981F
secondary
#A853C0
accent
#3FE9C3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A981F

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

Preview Lab → · Contrast checker → · Palette generator →

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