#3C8D1F#3C8D1F

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

Color values

HEX#3C8D1F
RGBrgb(60, 141, 31)
HSLhsl(104, 64%, 34%)
HSVhsv(104, 78%, 55%)
CMYKcmyk(57.4%, 0%, 78%, 44.7%)
CIE-LABlab(51.96, -44.66, 47.70)
CIE-LCHlch(51.96, 65.34, 133.12°)
OKLaboklab(57.11% -0.1231 0.1068)
OKLCHoklch(57.11% 0.163 139.1)
XYZxyz(11.6352, 20.1084, 4.5642)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8D1F #701F8D
analogous
#738D1F #3C8D1F #1F8D39
triadic
#3C8D1F #1F3C8D #8D1F3C
tetradic
#3C8D1F #1F738D #701F8D #8D391F
square
#3C8D1F #1F738D #701F8D #8D391F
split-complementary
#3C8D1F #391F8D #8D1F73
monochromatic
#112909 #275B14 #3C8D1F #51BF2A #73D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8D1F#FFFFFF#000000##000000
##3C8D1F1.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)
#918005
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#348878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3c8d1f;
/* rgb */ color: rgb(60, 141, 31);
/* oklch */ color: oklch(57.1% 0.163 139.1);
Tailwind
colors: {
  custom: {
    50: '#7baf63',
    500: '#3c8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #3c8d1f;
$custom-light: #7baf63;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8d1f",
  "rgb": {
    "r": 60,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 104.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.16291,
    "h": 139.1
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#3C8D1F
secondary
#9E4DBB
accent
#41E7BB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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