#3D8C17#3D8C17

#3D8C17 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.165 H 138.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3D8C17
RGBrgb(61, 140, 23)
HSLhsl(101, 72%, 32%)
HSVhsv(101, 84%, 55%)
CMYKcmyk(56.4%, 0%, 83.6%, 45.1%)
CIE-LABlab(51.62, -44.48, 49.93)
CIE-LCHlch(51.62, 66.87, 131.69°)
OKLaboklab(56.83% -0.1231 0.1102)
OKLCHoklch(56.83% 0.165 138.2)
XYZxyz(11.4568, 19.8092, 4.0303)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8C17 #66178C
analogous
#788C17 #3D8C17 #178C2C
triadic
#3D8C17 #173D8C #8C173D
tetradic
#3D8C17 #17788C #66178C #8C2C17
square
#3D8C17 #17788C #66178C #8C2C17
split-complementary
#3D8C17 #2C178C #8C1778
monochromatic
#0F2306 #26570E #3D8C17 #54C120 #72DF3E

Accessibility & contrast

On white

4.23
#3D8C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3D8C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8C17
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8C17#FFFFFF#000000##000000
##3D8C171.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#368777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3d8c17;
/* rgb */ color: rgb(61, 140, 23);
/* oklch */ color: oklch(56.8% 0.165 138.2);
Tailwind
colors: {
  custom: {
    50: '#7cae60',
    500: '#3d8c17',
    950: '#000000',
  },
}
SCSS
$custom: #3d8c17;
$custom-light: #7cae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8c17",
  "rgb": {
    "r": 61,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 100.513,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.16523,
    "h": 138.2
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#3D8C17
secondary
#963FBF
accent
#39EFB4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8C17

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

Preview Lab → · Contrast checker → · Palette generator →

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