#3C8A21#3C8A21

#3C8A21 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.158 H 139.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3C8A21
RGBrgb(60, 138, 33)
HSLhsl(105, 61%, 34%)
HSVhsv(105, 76%, 54%)
CMYKcmyk(56.5%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.97, -43.36, 46.01)
CIE-LCHlch(50.97, 63.22, 133.30°)
OKLaboklab(56.3% -0.1194 0.1035)
OKLCHoklch(56.3% 0.158 139.1)
XYZxyz(11.2260, 19.2465, 4.5619)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8A21 #6F218A
analogous
#708A21 #3C8A21 #218A3A
triadic
#3C8A21 #213C8A #8A213C
tetradic
#3C8A21 #21708A #6F218A #8A3A21
square
#3C8A21 #21708A #6F218A #8A3A21
split-complementary
#3C8A21 #3A218A #8A2170
monochromatic
#112709 #275915 #3C8A21 #51BB2D #72D550

Accessibility & contrast

On white

4.33
#3C8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3C8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C8A21
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8A21#FFFFFF#000000##000000
##3C8A211.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#348576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3c8a21;
/* rgb */ color: rgb(60, 138, 33);
/* oklch */ color: oklch(56.3% 0.158 139.1);
Tailwind
colors: {
  custom: {
    50: '#7bad64',
    500: '#3c8a21',
    950: '#000000',
  },
}
SCSS
$custom: #3c8a21;
$custom-light: #7bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8a21",
  "rgb": {
    "r": 60,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 104.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.15806,
    "h": 139.1
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#3C8A21
secondary
#9D4EB9
accent
#43E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3C8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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