#3C841F#3C841F
#3C841F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.152 H 138.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3C841F |
|---|---|
| RGB | rgb(60, 132, 31) |
| HSL | hsl(103, 62%, 32%) |
| HSV | hsv(103, 77%, 52%) |
| CMYK | cmyk(54.5%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(48.96, -41.14, 44.75) |
| CIE-LCH | lch(48.96, 60.79, 132.60°) |
| OKLab | oklab(54.63% -0.1136 0.1006) |
| OKLCH | oklch(54.63% 0.152 138.5) |
| XYZ | xyz(10.3617, 17.5613, 4.1397) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.46
Tree Green
#2A7E19
ΔE00 2.90
Forestgreen (CSS)
#228B22
ΔE00 3.40
Green
#008000
ΔE00 4.22
Emerald Green
#028F1E
ΔE00 5.00
Avocado
#568203
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C841F #671F84
analogous
#6F841F #3C841F #1F8434
triadic
#3C841F #1F3C84 #841F3C
tetradic
#3C841F #1F6F84 #671F84 #84341F
square
#3C841F #1F6F84 #671F84 #84341F
split-complementary
#3C841F #341F84 #841F6F
monochromatic
#0F2108 #255213 #3C841F #53B62B #71D449
Accessibility & contrast
On white
4.65
#3C841F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#3C841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3C841F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C841F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C841F | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#367F71
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3c841f; /* rgb */ color: rgb(60, 132, 31); /* oklch */ color: oklch(54.6% 0.152 138.5);
Tailwind
colors: {
custom: {
50: '#7aa862',
500: '#3c841f',
950: '#000000',
},
}SCSS
$custom: #3c841f; $custom-light: #7aa862; $custom-dark: #000000;
JSON
{
"hex": "#3c841f",
"rgb": {
"r": 60,
"g": 132,
"b": 31
},
"hsl": {
"h": 102.772,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.54634,
"c": 0.15173,
"h": 138.5
},
"luminance": 0.17562
}Semantic roles & 50–950 ramp
primary
#3C841F
secondary
#9748B7
accent
#43E5B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A