#3A9822#3A9822

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

Color values

HEX#3A9822
RGBrgb(58, 152, 34)
HSLhsl(108, 63%, 36%)
HSVhsv(108, 78%, 60%)
CMYKcmyk(61.8%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.55, -49.09, 50.14)
CIE-LCHlch(55.55, 70.17, 134.39°)
OKLaboklab(60.07% -0.1347 0.1123)
OKLCHoklch(60.07% 0.175 140.2)
XYZxyz(13.2613, 23.4703, 5.3444)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9822 #802298
analogous
#759822 #3A9822 #229845
triadic
#3A9822 #223A98 #98223A
tetradic
#3A9822 #227598 #802298 #984522
square
#3A9822 #227598 #802298 #984522
split-complementary
#3A9822 #452298 #982275
monochromatic
#14340C #276617 #3A9822 #4DCA2D #74DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A9822#FFFFFF#000000##000000
##3A98221.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)
#9C8A05
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#2D9382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3a9822;
/* rgb */ color: rgb(58, 152, 34);
/* oklch */ color: oklch(60.1% 0.175 140.2);
Tailwind
colors: {
  custom: {
    50: '#7cb766',
    500: '#3a9822',
    950: '#000000',
  },
}
SCSS
$custom: #3a9822;
$custom-light: #7cb766;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9822",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 107.797,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.17537,
    "h": 140.2
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#3A9822
secondary
#A957BE
accent
#41E6C5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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