#3D8D21#3D8D21

#3D8D21 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.161 H 139.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3D8D21
RGBrgb(61, 141, 33)
HSLhsl(104, 62%, 34%)
HSVhsv(104, 77%, 55%)
CMYKcmyk(56.7%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.01, -44.24, 47.05)
CIE-LCHlch(52.01, 64.58, 133.24°)
OKLaboklab(57.16% -0.1219 0.1057)
OKLCHoklch(57.16% 0.161 139.1)
XYZxyz(11.7234, 20.1507, 4.7102)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8D21 #71218D
analogous
#738D21 #3D8D21 #218D3B
triadic
#3D8D21 #213D8D #8D213D
tetradic
#3D8D21 #21738D #71218D #8D3B21
square
#3D8D21 #21738D #71218D #8D3B21
split-complementary
#3D8D21 #3B218D #8D2173
monochromatic
#122A0A #285B15 #3D8D21 #52BF2D #74D652

Accessibility & contrast

On white

4.17
#3D8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3D8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8D21
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8D21#FFFFFF#000000##000000
##3D8D211.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#358878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3d8d21;
/* rgb */ color: rgb(61, 141, 33);
/* oklch */ color: oklch(57.2% 0.161 139.1);
Tailwind
colors: {
  custom: {
    50: '#7caf64',
    500: '#3d8d21',
    950: '#000000',
  },
}
SCSS
$custom: #3d8d21;
$custom-light: #7caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8d21",
  "rgb": {
    "r": 61,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 104.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.16131,
    "h": 139.1
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#3D8D21
secondary
#9E50BA
accent
#43E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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