#3A9221#3A9221

#3A9221 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.169 H 139.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3A9221
RGBrgb(58, 146, 33)
HSLhsl(107, 63%, 35%)
HSVhsv(107, 77%, 57%)
CMYKcmyk(60.3%, 0%, 77.4%, 42.7%)
CIE-LABlab(53.56, -46.95, 48.54)
CIE-LCHlch(53.56, 67.53, 134.05°)
OKLaboklab(58.42% -0.129 0.1088)
OKLCHoklch(58.42% 0.169 139.8)
XYZxyz(12.2978, 21.5660, 4.9531)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9221 #792192
analogous
#729221 #3A9221 #219241
triadic
#3A9221 #213A92 #92213A
tetradic
#3A9221 #217292 #792192 #924121
square
#3A9221 #217292 #792192 #924121
split-complementary
#3A9221 #412192 #922172
monochromatic
#122E0A #266016 #3A9221 #4EC42C #72D955

Accessibility & contrast

On white

3.95
#3A9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#3A9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9221
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9221#FFFFFF#000000##000000
##3A92211.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#2F8D7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3a9221;
/* rgb */ color: rgb(58, 146, 33);
/* oklch */ color: oklch(58.4% 0.169 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb365',
    500: '#3a9221',
    950: '#000000',
  },
}
SCSS
$custom: #3a9221;
$custom-light: #7bb365;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9221",
  "rgb": {
    "r": 58,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 106.726,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.16876,
    "h": 139.8
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#3A9221
secondary
#A553BC
accent
#42E6C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A9221

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

Preview Lab → · Contrast checker → · Palette generator →

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