#3C8B1F#3C8B1F

#3C8B1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.160 H 138.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3C8B1F
RGBrgb(60, 139, 31)
HSLhsl(104, 64%, 33%)
HSVhsv(104, 78%, 55%)
CMYKcmyk(56.8%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.29, -43.89, 47.05)
CIE-LCHlch(51.29, 64.34, 133.01°)
OKLaboklab(56.56% -0.121 0.1054)
OKLCHoklch(56.56% 0.16 138.9)
XYZxyz(11.3430, 19.5239, 4.4668)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8B1F #6E1F8B
analogous
#728B1F #3C8B1F #1F8B38
triadic
#3C8B1F #1F3C8B #8B1F3C
tetradic
#3C8B1F #1F728B #6E1F8B #8B381F
square
#3C8B1F #1F728B #6E1F8B #8B381F
split-complementary
#3C8B1F #381F8B #8B1F72
monochromatic
#112709 #265914 #3C8B1F #52BD2A #72D74D

Accessibility & contrast

On white

4.28
#3C8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3C8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C8B1F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8B1F#FFFFFF#000000##000000
##3C8B1F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#348677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3c8b1f;
/* rgb */ color: rgb(60, 139, 31);
/* oklch */ color: oklch(56.6% 0.160 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bae63',
    500: '#3c8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #3c8b1f;
$custom-light: #7bae63;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8b1f",
  "rgb": {
    "r": 60,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 103.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.16046,
    "h": 138.9
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#3C8B1F
secondary
#9C4CBA
accent
#41E7BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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