#3C8C17#3C8C17

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

Color values

HEX#3C8C17
RGBrgb(60, 140, 23)
HSLhsl(101, 72%, 32%)
HSVhsv(101, 84%, 55%)
CMYKcmyk(57.1%, 0%, 83.6%, 45.1%)
CIE-LABlab(51.58, -44.76, 49.89)
CIE-LCHlch(51.58, 67.03, 131.90°)
OKLaboklab(56.79% -0.1238 0.1102)
OKLCHoklch(56.79% 0.166 138.3)
XYZxyz(11.3958, 19.7777, 4.0274)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8C17 #67178C
analogous
#778C17 #3C8C17 #178C2D
triadic
#3C8C17 #173C8C #8C173C
tetradic
#3C8C17 #17778C #67178C #8C2D17
square
#3C8C17 #17778C #67178C #8C2D17
split-complementary
#3C8C17 #2D178C #8C1777
monochromatic
#0F2306 #25570E #3C8C17 #53C120 #71DF3E

Accessibility & contrast

On white

4.24
#3C8C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8C17#FFFFFF#000000##000000
##3C8C171.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c8c17;
/* rgb */ color: rgb(60, 140, 23);
/* oklch */ color: oklch(56.8% 0.166 138.3);
Tailwind
colors: {
  custom: {
    50: '#7bae60',
    500: '#3c8c17',
    950: '#000000',
  },
}
SCSS
$custom: #3c8c17;
$custom-light: #7bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8c17",
  "rgb": {
    "r": 60,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 101.026,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.16569,
    "h": 138.3
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#3C8C17
secondary
#973FBF
accent
#39EFB5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3C8C17

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

Preview Lab → · Contrast checker → · Palette generator →

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