#3C8F1F#3C8F1F

#3C8F1F is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.165 H 139.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3C8F1F
RGBrgb(60, 143, 31)
HSLhsl(104, 64%, 34%)
HSVhsv(104, 78%, 56%)
CMYKcmyk(58%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.62, -45.43, 48.34)
CIE-LCHlch(52.62, 66.34, 133.22°)
OKLaboklab(57.66% -0.1251 0.1081)
OKLCHoklch(57.66% 0.165 139.2)
XYZxyz(11.9328, 20.7035, 4.6634)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8F1F #721F8F
analogous
#748F1F #3C8F1F #1F8F3A
triadic
#3C8F1F #1F3C8F #8F1F3C
tetradic
#3C8F1F #1F748F #721F8F #8F3A1F
square
#3C8F1F #1F748F #721F8F #8F3A1F
split-complementary
#3C8F1F #3A1F8F #8F1F74
monochromatic
#122A09 #275D14 #3C8F1F #51C12A #73D94F

Accessibility & contrast

On white

4.08
#3C8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3C8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C8F1F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8F1F#FFFFFF#000000##000000
##3C8F1F1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#338A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3c8f1f;
/* rgb */ color: rgb(60, 143, 31);
/* oklch */ color: oklch(57.7% 0.165 139.2);
Tailwind
colors: {
  custom: {
    50: '#7cb064',
    500: '#3c8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #3c8f1f;
$custom-light: #7cb064;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8f1f",
  "rgb": {
    "r": 60,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 104.464,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.16535,
    "h": 139.2
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#3C8F1F
secondary
#9F4EBC
accent
#40E7BC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3C8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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