#3A9C22#3A9C22

#3A9C22 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.2% C 0.180 H 140.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3A9C22
RGBrgb(58, 156, 34)
HSLhsl(108, 64%, 37%)
HSVhsv(108, 78%, 61%)
CMYKcmyk(62.8%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.87, -50.53, 51.42)
CIE-LCHlch(56.87, 72.10, 134.50°)
OKLaboklab(61.16% -0.1386 0.115)
OKLCHoklch(61.16% 0.18 140.3)
XYZxyz(13.9215, 24.7906, 5.5645)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9C22 #84229C
analogous
#779C22 #3A9C22 #229C47
triadic
#3A9C22 #223A9C #9C223A
tetradic
#3A9C22 #22779C #84229C #9C4722
square
#3A9C22 #22779C #84229C #9C4722
split-complementary
#3A9C22 #47229C #9C2277
monochromatic
#15380C #276A17 #3A9C22 #4DCE2D #76DC5D

Accessibility & contrast

On white

3.52
#3A9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#3A9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9C22
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9C22#FFFFFF#000000##000000
##3A9C221.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D02
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#2C9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #3a9c22;
/* rgb */ color: rgb(58, 156, 34);
/* oklch */ color: oklch(61.2% 0.180 140.3);
Tailwind
colors: {
  custom: {
    50: '#7dba67',
    500: '#3a9c22',
    950: '#000000',
  },
}
SCSS
$custom: #3a9c22;
$custom-light: #7dba67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9c22",
  "rgb": {
    "r": 58,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 108.197,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61155,
    "c": 0.18007,
    "h": 140.3
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#3A9C22
secondary
#AC5AC0
accent
#41E7C6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #3A9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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