#3C8D21#3C8D21

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

Color values

HEX#3C8D21
RGBrgb(60, 141, 33)
HSLhsl(105, 62%, 34%)
HSVhsv(105, 77%, 55%)
CMYKcmyk(57.4%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.97, -44.52, 47.00)
CIE-LCHlch(51.97, 64.74, 133.45°)
OKLaboklab(57.12% -0.1226 0.1056)
OKLCHoklch(57.12% 0.162 139.3)
XYZxyz(11.6624, 20.1192, 4.7074)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8D21 #72218D
analogous
#728D21 #3C8D21 #218D3C
triadic
#3C8D21 #213C8D #8D213C
tetradic
#3C8D21 #21728D #72218D #8D3C21
square
#3C8D21 #21728D #72218D #8D3C21
split-complementary
#3C8D21 #3C218D #8D2172
monochromatic
#122A0A #275B15 #3C8D21 #51BF2D #73D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8D21#FFFFFF#000000##000000
##3C8D211.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)
#91800A
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#338878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3c8d21;
/* rgb */ color: rgb(60, 141, 33);
/* oklch */ color: oklch(57.1% 0.162 139.3);
Tailwind
colors: {
  custom: {
    50: '#7baf64',
    500: '#3c8d21',
    950: '#000000',
  },
}
SCSS
$custom: #3c8d21;
$custom-light: #7baf64;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8d21",
  "rgb": {
    "r": 60,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 105,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.16177,
    "h": 139.3
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#3C8D21
secondary
#9F50BA
accent
#43E5BD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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