#3C8A28#3C8A28

#3C8A28 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.154 H 139.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3C8A28
RGBrgb(60, 138, 40)
HSLhsl(108, 55%, 35%)
HSVhsv(108, 71%, 54%)
CMYKcmyk(56.5%, 0%, 71%, 45.9%)
CIE-LABlab(51.02, -42.79, 43.31)
CIE-LCHlch(51.02, 60.88, 134.66°)
OKLaboklab(56.36% -0.1174 0.0989)
OKLCHoklch(56.36% 0.154 139.9)
XYZxyz(11.3345, 19.2899, 5.1331)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8A28 #76288A
analogous
#6D8A28 #3C8A28 #288A45
triadic
#3C8A28 #283C8A #8A283C
tetradic
#3C8A28 #286D8A #76288A #8A4528
square
#3C8A28 #286D8A #76288A #8A4528
split-complementary
#3C8A28 #45288A #8A286D
monochromatic
#132B0C #275B1A #3C8A28 #51B936 #74D05D

Accessibility & contrast

On white

4.32
#3C8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3C8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C8A28
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8A28#FFFFFF#000000##000000
##3C8A281.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#338576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3c8a28;
/* rgb */ color: rgb(60, 138, 40);
/* oklch */ color: oklch(56.4% 0.154 139.9);
Tailwind
colors: {
  custom: {
    50: '#7aad68',
    500: '#3c8a28',
    950: '#000000',
  },
}
SCSS
$custom: #3c8a28;
$custom-light: #7aad68;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8a28",
  "rgb": {
    "r": 60,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 107.755,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.15352,
    "h": 139.9
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#3C8A28
secondary
#A259B5
accent
#49DEC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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