#3D8A22#3D8A22

#3D8A22 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.157 H 139.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3D8A22
RGBrgb(61, 138, 34)
HSLhsl(104, 60%, 34%)
HSVhsv(104, 75%, 54%)
CMYKcmyk(55.8%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.02, -43.00, 45.69)
CIE-LCHlch(51.02, 62.74, 133.26°)
OKLaboklab(56.35% -0.1185 0.103)
OKLCHoklch(56.35% 0.157 139)
XYZxyz(11.3012, 19.2836, 4.6396)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8A22 #6F228A
analogous
#718A22 #3D8A22 #228A3B
triadic
#3D8A22 #223D8A #8A223D
tetradic
#3D8A22 #22718A #6F228A #8A3B22
square
#3D8A22 #22718A #6F228A #8A3B22
split-complementary
#3D8A22 #3B228A #8A2271
monochromatic
#12280A #275916 #3D8A22 #53BB2E #74D452

Accessibility & contrast

On white

4.32
#3D8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3D8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8A22
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8A22#FFFFFF#000000##000000
##3D8A221.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d8a22;
/* rgb */ color: rgb(61, 138, 34);
/* oklch */ color: oklch(56.3% 0.157 139.0);
Tailwind
colors: {
  custom: {
    50: '#7bad64',
    500: '#3d8a22',
    950: '#000000',
  },
}
SCSS
$custom: #3d8a22;
$custom-light: #7bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8a22",
  "rgb": {
    "r": 61,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 104.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.15698,
    "h": 139
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#3D8A22
secondary
#9D50B8
accent
#44E4BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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