#3D8D17#3D8D17

#3D8D17 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.166 H 138.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3D8D17
RGBrgb(61, 141, 23)
HSLhsl(101, 72%, 32%)
HSVhsv(101, 84%, 55%)
CMYKcmyk(56.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.95, -44.86, 50.24)
CIE-LCHlch(51.95, 67.35, 131.76°)
OKLaboklab(57.1% -0.1241 0.1109)
OKLCHoklch(57.1% 0.166 138.2)
XYZxyz(11.6036, 20.1028, 4.0792)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8D17 #67178D
analogous
#788D17 #3D8D17 #178D2C
triadic
#3D8D17 #173D8D #8D173D
tetradic
#3D8D17 #17788D #67178D #8D2C17
square
#3D8D17 #17788D #67178D #8D2C17
split-complementary
#3D8D17 #2C178D #8D1778
monochromatic
#0F2406 #26580E #3D8D17 #54C220 #73E03F

Accessibility & contrast

On white

4.18
#3D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8D17
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8D17#FFFFFF#000000##000000
##3D8D171.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887926
Tritanopia (blue-blind)
#368878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3d8d17;
/* rgb */ color: rgb(61, 141, 23);
/* oklch */ color: oklch(57.1% 0.166 138.2);
Tailwind
colors: {
  custom: {
    50: '#7caf60',
    500: '#3d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #3d8d17;
$custom-light: #7caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8d17",
  "rgb": {
    "r": 61,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 100.678,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.571,
    "c": 0.16642,
    "h": 138.2
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#3D8D17
secondary
#9740C0
accent
#39EFB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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