#3B8D17#3B8D17

#3B8D17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.167 H 138.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3B8D17
RGBrgb(59, 141, 23)
HSLhsl(102, 72%, 32%)
HSVhsv(102, 84%, 55%)
CMYKcmyk(58.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.88, -45.42, 50.15)
CIE-LCHlch(51.88, 67.66, 132.17°)
OKLaboklab(57.02% -0.1255 0.1107)
OKLCHoklch(57.02% 0.167 138.6)
XYZxyz(11.4827, 20.0404, 4.0735)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8D17 #69178D
analogous
#768D17 #3B8D17 #178D2E
triadic
#3B8D17 #173B8D #8D173B
tetradic
#3B8D17 #17768D #69178D #8D2E17
square
#3B8D17 #17768D #69178D #8D2E17
split-complementary
#3B8D17 #2E178D #8D1776
monochromatic
#0F2406 #25580E #3B8D17 #51C220 #70E03F

Accessibility & contrast

On white

4.19
#3B8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3B8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8D17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8D17#FFFFFF#000000##000000
##3B8D171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#338878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3b8d17;
/* rgb */ color: rgb(59, 141, 23);
/* oklch */ color: oklch(57.0% 0.167 138.6);
Tailwind
colors: {
  custom: {
    50: '#7baf60',
    500: '#3b8d17',
    950: '#000000',
  },
}
SCSS
$custom: #3b8d17;
$custom-light: #7baf60;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8d17",
  "rgb": {
    "r": 59,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 101.695,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.16734,
    "h": 138.6
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#3B8D17
secondary
#9940C0
accent
#39EFB7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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