#3A8822#3A8822

#3A8822 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.156 H 139.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A8822
RGBrgb(58, 136, 34)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 53%)
CMYKcmyk(57.4%, 0%, 75%, 46.7%)
CIE-LABlab(50.24, -43.07, 44.88)
CIE-LCHlch(50.24, 62.20, 133.82°)
OKLaboklab(55.68% -0.1184 0.1013)
OKLCHoklch(55.68% 0.156 139.5)
XYZxyz(10.8374, 18.6224, 4.5365)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8822 #702288
analogous
#6D8822 #3A8822 #22883D
triadic
#3A8822 #223A88 #88223A
tetradic
#3A8822 #226D88 #702288 #883D22
square
#3A8822 #226D88 #702288 #883D22
split-complementary
#3A8822 #3D2288 #88226D
monochromatic
#10260A #255716 #3A8822 #4FB92E #70D351

Accessibility & contrast

On white

4.44
#3A8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8822
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8822#FFFFFF#000000##000000
##3A88221.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#328374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8822;
/* rgb */ color: rgb(58, 136, 34);
/* oklch */ color: oklch(55.7% 0.156 139.5);
Tailwind
colors: {
  custom: {
    50: '#79ab64',
    500: '#3a8822',
    950: '#000000',
  },
}
SCSS
$custom: #3a8822;
$custom-light: #79ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8822",
  "rgb": {
    "r": 58,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 105.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.15588,
    "h": 139.5
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#3A8822
secondary
#9E4FB7
accent
#45E3BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8822

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

Preview Lab → · Contrast checker → · Palette generator →

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