#3C821C#3C821C
#3C821C is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.151 H 138.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3C821C |
|---|---|
| RGB | rgb(60, 130, 28) |
| HSL | hsl(101, 65%, 31%) |
| HSV | hsv(101, 78%, 51%) |
| CMYK | cmyk(53.8%, 0%, 78.5%, 49%) |
| CIE-LAB | lab(48.27, -40.55, 45.16) |
| CIE-LCH | lch(48.27, 60.70, 131.92°) |
| OKLab | oklab(54.06% -0.1122 0.101) |
| OKLCH | oklch(54.06% 0.151 138) |
| XYZ | xyz(10.0554, 17.0090, 3.8516) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.90
Tree Green
#2A7E19
ΔE00 2.49
Green
#008000
ΔE00 4.00
Forestgreen (CSS)
#228B22
ΔE00 4.02
Avocado
#568203
ΔE00 5.42
Emerald Green
#028F1E
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C821C #621C82
analogous
#6F821C #3C821C #1C822F
triadic
#3C821C #1C3C82 #821C3C
tetradic
#3C821C #1C6F82 #621C82 #822F1C
square
#3C821C #1C6F82 #621C82 #822F1C
split-complementary
#3C821C #2F1C82 #821C6F
monochromatic
#0E1D06 #255011 #3C821C #53B427 #71D642
Accessibility & contrast
On white
4.77
#3C821C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#3C821C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3C821C
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C821C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C821C | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#367D6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #3c821c; /* rgb */ color: rgb(60, 130, 28); /* oklch */ color: oklch(54.1% 0.151 138.0);
Tailwind
colors: {
custom: {
50: '#7aa760',
500: '#3c821c',
950: '#000000',
},
}SCSS
$custom: #3c821c; $custom-light: #7aa760; $custom-dark: #000000;
JSON
{
"hex": "#3c821c",
"rgb": {
"r": 60,
"g": 130,
"b": 28
},
"hsl": {
"h": 101.176,
"s": 64.557,
"l": 30.98
},
"oklch": {
"l": 0.54061,
"c": 0.15095,
"h": 138
},
"luminance": 0.1701
}Semantic roles & 50–950 ramp
primary
#3C821C
secondary
#9244B5
accent
#40E8B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79