#3C821F#3C821F

#3C821F is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.149 H 138.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3C821F
RGBrgb(60, 130, 31)
HSLhsl(102, 61%, 32%)
HSVhsv(102, 76%, 51%)
CMYKcmyk(53.8%, 0%, 76.2%, 49%)
CIE-LABlab(48.29, -40.34, 44.08)
CIE-LCHlch(48.29, 59.76, 132.46°)
OKLaboklab(54.08% -0.1114 0.0992)
OKLCHoklch(54.08% 0.149 138.3)
XYZxyz(10.0931, 17.0241, 4.0502)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C821F #651F82
analogous
#6E821F #3C821F #1F8234
triadic
#3C821F #1F3C82 #821F3C
tetradic
#3C821F #1F6E82 #651F82 #82341F
square
#3C821F #1F6E82 #651F82 #82341F
split-complementary
#3C821F #341F82 #821F6E
monochromatic
#0E1F07 #255113 #3C821F #53B32B #71D348

Accessibility & contrast

On white

4.77
#3C821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3C821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C821F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C821F#FFFFFF#000000##FFFFFF
##3C821F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#367D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3c821f;
/* rgb */ color: rgb(60, 130, 31);
/* oklch */ color: oklch(54.1% 0.149 138.3);
Tailwind
colors: {
  custom: {
    50: '#79a762',
    500: '#3c821f',
    950: '#000000',
  },
}
SCSS
$custom: #3c821f;
$custom-light: #79a762;
$custom-dark: #000000;
JSON
{
  "hex": "#3c821f",
  "rgb": {
    "r": 60,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 102.424,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.14918,
    "h": 138.3
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#3C821F
secondary
#9548B5
accent
#43E5B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3C821F

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

Preview Lab → · Contrast checker → · Palette generator →

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