#3C7828#3C7828

#3C7828 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.4% C 0.129 H 138.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3C7828
RGBrgb(60, 120, 40)
HSLhsl(105, 50%, 31%)
HSVhsv(105, 67%, 47%)
CMYKcmyk(50%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.01, -35.38, 36.85)
CIE-LCHlch(45.01, 51.08, 133.83°)
OKLaboklab(51.41% -0.0974 0.0853)
OKLCHoklch(51.41% 0.129 138.8)
XYZxyz(8.9626, 14.5462, 4.3425)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7828 #642878
analogous
#647828 #3C7828 #28783C
triadic
#3C7828 #283C78 #78283C
tetradic
#3C7828 #286478 #642878 #783C28
square
#3C7828 #286478 #642878 #783C28
split-complementary
#3C7828 #3C2878 #782864
monochromatic
#0E1C09 #254A19 #3C7828 #53A637 #71C654

Accessibility & contrast

On white

5.37
#3C7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3C7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7828
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7828#FFFFFF#000000##FFFFFF
##3C78281.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#377467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c7828;
/* rgb */ color: rgb(60, 120, 40);
/* oklch */ color: oklch(51.4% 0.129 138.8);
Tailwind
colors: {
  custom: {
    50: '#779f66',
    500: '#3c7828',
    950: '#000000',
  },
}
SCSS
$custom: #3c7828;
$custom-light: #779f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7828",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 105,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.1294,
    "h": 138.8
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#3C7828
secondary
#9452AA
accent
#4EDAB7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3C7828

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

Preview Lab → · Contrast checker → · Palette generator →

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