#3D8A21#3D8A21

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

Color values

HEX#3D8A21
RGBrgb(61, 138, 33)
HSLhsl(104, 61%, 34%)
HSVhsv(104, 76%, 54%)
CMYKcmyk(55.8%, 0%, 76.1%, 45.9%)
CIE-LABlab(51.01, -43.08, 46.06)
CIE-LCHlch(51.01, 63.06, 133.08°)
OKLaboklab(56.34% -0.1187 0.1036)
OKLCHoklch(56.34% 0.158 138.9)
XYZxyz(11.2870, 19.2780, 4.5648)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8A21 #6E218A
analogous
#718A21 #3D8A21 #218A39
triadic
#3D8A21 #213D8A #8A213D
tetradic
#3D8A21 #21718A #6E218A #8A3921
square
#3D8A21 #21718A #6E218A #8A3921
split-complementary
#3D8A21 #39218A #8A2171
monochromatic
#112709 #275915 #3D8A21 #53BB2D #74D550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8A21#FFFFFF#000000##000000
##3D8A211.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)
#8E7D0C
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#368576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3d8a21;
/* rgb */ color: rgb(61, 138, 33);
/* oklch */ color: oklch(56.3% 0.158 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bad64',
    500: '#3d8a21',
    950: '#000000',
  },
}
SCSS
$custom: #3d8a21;
$custom-light: #7bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8a21",
  "rgb": {
    "r": 61,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 104,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.15759,
    "h": 138.9
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#3D8A21
secondary
#9C4EB9
accent
#43E5BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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