#3D8020#3D8020

#3D8020 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.145 H 138.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3D8020
RGBrgb(61, 128, 32)
HSLhsl(102, 60%, 31%)
HSVhsv(102, 75%, 50%)
CMYKcmyk(52.3%, 0%, 75%, 49.8%)
CIE-LABlab(47.67, -39.14, 43.09)
CIE-LCHlch(47.67, 58.21, 132.25°)
OKLaboklab(53.58% -0.1082 0.0973)
OKLCHoklch(53.58% 0.145 138)
XYZxyz(9.9040, 16.5340, 4.0357)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8020 #632080
analogous
#6D8020 #3D8020 #208033
triadic
#3D8020 #203D80 #80203D
tetradic
#3D8020 #206D80 #632080 #803320
square
#3D8020 #206D80 #632080 #803320
split-complementary
#3D8020 #332080 #80206D
monochromatic
#0E1E08 #264F14 #3D8020 #54B12C #72D149

Accessibility & contrast

On white

4.88
#3D8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3D8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8020
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8020#FFFFFF#000000##FFFFFF
##3D80201.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750F
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#387B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d8020;
/* rgb */ color: rgb(61, 128, 32);
/* oklch */ color: oklch(53.6% 0.145 138.0);
Tailwind
colors: {
  custom: {
    50: '#7aa562',
    500: '#3d8020',
    950: '#000000',
  },
}
SCSS
$custom: #3d8020;
$custom-light: #7aa562;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8020",
  "rgb": {
    "r": 61,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 101.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.14548,
    "h": 138
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#3D8020
secondary
#9349B3
accent
#45E3B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3D8020

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

Preview Lab → · Contrast checker → · Palette generator →

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