#3A9721#3A9721

#3A9721 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.175 H 140.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3A9721
RGBrgb(58, 151, 33)
HSLhsl(107, 64%, 36%)
HSVhsv(107, 78%, 59%)
CMYKcmyk(61.6%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.22, -48.79, 50.15)
CIE-LCHlch(55.22, 69.97, 134.21°)
OKLaboklab(59.79% -0.1339 0.1122)
OKLCHoklch(59.79% 0.175 140)
XYZxyz(13.0854, 23.1414, 5.2157)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9721 #7E2197
analogous
#759721 #3A9721 #219743
triadic
#3A9721 #213A97 #97213A
tetradic
#3A9721 #217597 #7E2197 #974321
square
#3A9721 #217597 #7E2197 #974321
split-complementary
#3A9721 #432197 #972175
monochromatic
#13330B #276516 #3A9721 #4DC92C #74DA58

Accessibility & contrast

On white

3.73
#3A9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#3A9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9721
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9721#FFFFFF#000000##000000
##3A97211.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8903
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#2D9281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3a9721;
/* rgb */ color: rgb(58, 151, 33);
/* oklch */ color: oklch(59.8% 0.175 140.0);
Tailwind
colors: {
  custom: {
    50: '#7cb666',
    500: '#3a9721',
    950: '#000000',
  },
}
SCSS
$custom: #3a9721;
$custom-light: #7cb666;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9721",
  "rgb": {
    "r": 58,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 107.288,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.17472,
    "h": 140
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#3A9721
secondary
#A855BE
accent
#41E7C4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A9721

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

Preview Lab → · Contrast checker → · Palette generator →

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