#3A8A22#3A8A22

#3A8A22 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 139.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A8A22
RGBrgb(58, 138, 34)
HSLhsl(106, 60%, 34%)
HSVhsv(106, 75%, 54%)
CMYKcmyk(58%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.91, -43.85, 45.55)
CIE-LCHlch(50.91, 63.22, 133.91°)
OKLaboklab(56.23% -0.1205 0.1027)
OKLCHoklch(56.23% 0.158 139.6)
XYZxyz(11.1217, 19.1910, 4.6312)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A22 #72228A
analogous
#6E8A22 #3A8A22 #228A3E
triadic
#3A8A22 #223A8A #8A223A
tetradic
#3A8A22 #226E8A #72228A #8A3E22
square
#3A8A22 #226E8A #72228A #8A3E22
split-complementary
#3A8A22 #3E228A #8A226E
monochromatic
#11280A #255916 #3A8A22 #4FBB2E #70D452

Accessibility & contrast

On white

4.34
#3A8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A22
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A22#FFFFFF#000000##000000
##3A8A221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a22;
/* rgb */ color: rgb(58, 138, 34);
/* oklch */ color: oklch(56.2% 0.158 139.6);
Tailwind
colors: {
  custom: {
    50: '#7aad64',
    500: '#3a8a22',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a22;
$custom-light: #7aad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a22",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 106.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.15838,
    "h": 139.6
  },
  "luminance": 0.19192
}

Semantic roles & 50–950 ramp

primary
#3A8A22
secondary
#A050B8
accent
#44E4BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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