#3A8722#3A8722

#3A8722 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.155 H 139.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A8722
RGBrgb(58, 135, 34)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 53%)
CMYKcmyk(57%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.91, -42.68, 44.54)
CIE-LCHlch(49.91, 61.69, 133.78°)
OKLaboklab(55.4% -0.1174 0.1006)
OKLCHoklch(55.4% 0.155 139.4)
XYZxyz(10.6972, 18.3421, 4.4897)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8722 #6F2287
analogous
#6C8722 #3A8722 #22873D
triadic
#3A8722 #223A87 #87223A
tetradic
#3A8722 #226C87 #6F2287 #873D22
square
#3A8722 #226C87 #6F2287 #873D22
split-complementary
#3A8722 #3D2287 #87226C
monochromatic
#102509 #255616 #3A8722 #4FB82E #6FD350

Accessibility & contrast

On white

4.50
#3A8722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#3A8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8722
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8722#FFFFFF#000000##000000
##3A87221.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#328273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a8722;
/* rgb */ color: rgb(58, 135, 34);
/* oklch */ color: oklch(55.4% 0.155 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ab64',
    500: '#3a8722',
    950: '#000000',
  },
}
SCSS
$custom: #3a8722;
$custom-light: #79ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8722",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 105.743,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.15463,
    "h": 139.4
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#3A8722
secondary
#9E4EB7
accent
#45E3BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8722

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

Preview Lab → · Contrast checker → · Palette generator →

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