#3A941F#3A941F

#3A941F is a mid, vivid green. Relative luminance 0.222; OKLCH L 59.0% C 0.172 H 139.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3A941F
RGBrgb(58, 148, 31)
HSLhsl(106, 65%, 35%)
HSVhsv(106, 79%, 58%)
CMYKcmyk(60.8%, 0%, 79.1%, 42%)
CIE-LABlab(54.21, -47.83, 49.85)
CIE-LCHlch(54.21, 69.09, 133.81°)
OKLaboklab(58.95% -0.1314 0.1113)
OKLCHoklch(58.95% 0.172 139.7)
XYZxyz(12.5816, 22.1771, 4.9137)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A941F #791F94
analogous
#74941F #3A941F #1F943F
triadic
#3A941F #1F3A94 #941F3A
tetradic
#3A941F #1F7494 #791F94 #943F1F
square
#3A941F #1F7494 #791F94 #943F1F
split-complementary
#3A941F #3F1F94 #941F74
monochromatic
#122F0A #266114 #3A941F #4EC72A #72DB53

Accessibility & contrast

On white

3.86
#3A941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#3A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A941F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A941F#FFFFFF#000000##000000
##3A941F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#2F8F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a941f;
/* rgb */ color: rgb(58, 148, 31);
/* oklch */ color: oklch(59.0% 0.172 139.7);
Tailwind
colors: {
  custom: {
    50: '#7cb464',
    500: '#3a941f',
    950: '#000000',
  },
}
SCSS
$custom: #3a941f;
$custom-light: #7cb464;
$custom-dark: #000000;
JSON
{
  "hex": "#3a941f",
  "rgb": {
    "r": 58,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 106.154,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.17222,
    "h": 139.7
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#3A941F
secondary
#A551BE
accent
#3FE8C1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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