#3AA71F#3AA71F

#3AA71F is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.194 H 140.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3AA71F
RGBrgb(58, 167, 31)
HSLhsl(108, 69%, 39%)
HSVhsv(108, 81%, 65%)
CMYKcmyk(65.3%, 0%, 81.4%, 34.5%)
CIE-LABlab(60.46, -54.58, 55.76)
CIE-LCHlch(60.46, 78.02, 134.39°)
OKLaboklab(64.12% -0.1496 0.1236)
OKLCHoklch(64.12% 0.194 140.4)
XYZxyz(15.8102, 28.6343, 5.9898)
Luminance0.2864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3AA71F #8C1FA7
analogous
#7EA71F #3AA71F #1FA748
triadic
#3AA71F #1F3AA7 #A71F3A
tetradic
#3AA71F #1F7EA7 #8C1FA7 #A7481F
square
#3AA71F #1F7EA7 #8C1FA7 #A7481F
split-complementary
#3AA71F #481FA7 #A71F7E
monochromatic
#16400C #287315 #3AA71F #4ED82B #79E15F

Accessibility & contrast

On white

3.12
#3AA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#3AA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3AA71F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3AA71F#FFFFFF#000000##000000
##3AA71F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#28A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #3aa71f;
/* rgb */ color: rgb(58, 167, 31);
/* oklch */ color: oklch(64.1% 0.194 140.4);
Tailwind
colors: {
  custom: {
    50: '#7fc267',
    500: '#3aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #3aa71f;
$custom-light: #7fc267;
$custom-dark: #000000;
JSON
{
  "hex": "#3aa71f",
  "rgb": {
    "r": 58,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 108.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6412,
    "c": 0.19407,
    "h": 140.4
  },
  "luminance": 0.28636
}

Semantic roles & 50–950 ramp

primary
#3AA71F
secondary
#B15CC6
accent
#3CECC9
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #3AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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