#3C8A1F#3C8A1F
#3C8A1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.159 H 138.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3C8A1F |
|---|---|
| RGB | rgb(60, 138, 31) |
| HSL | hsl(104, 63%, 33%) |
| HSV | hsv(104, 78%, 54%) |
| CMYK | cmyk(56.5%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.96, -43.51, 46.72) |
| CIE-LCH | lch(50.96, 63.84, 132.96°) |
| OKLab | oklab(56.29% -0.1199 0.1047) |
| OKLCH | oklch(56.29% 0.159 138.9) |
| XYZ | xyz(11.1988, 19.2356, 4.4188) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.53
Emerald Green
#028F1E
ΔE00 3.71
Dark Grass Green
#388004
ΔE00 3.96
True Green
#089404
ΔE00 4.50
Tree Green
#2A7E19
ΔE00 4.77
Irish Green
#019529
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C8A1F #6D1F8A
analogous
#718A1F #3C8A1F #1F8A37
triadic
#3C8A1F #1F3C8A #8A1F3C
tetradic
#3C8A1F #1F718A #6D1F8A #8A371F
square
#3C8A1F #1F718A #6D1F8A #8A371F
split-complementary
#3C8A1F #371F8A #8A1F71
monochromatic
#112609 #265814 #3C8A1F #52BC2A #72D74C
Accessibility & contrast
On white
4.33
#3C8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#3C8A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3C8A1F
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C8A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3C8A1F | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#348576
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #3c8a1f; /* rgb */ color: rgb(60, 138, 31); /* oklch */ color: oklch(56.3% 0.159 138.9);
Tailwind
colors: {
custom: {
50: '#7bad63',
500: '#3c8a1f',
950: '#000000',
},
}SCSS
$custom: #3c8a1f; $custom-light: #7bad63; $custom-dark: #000000;
JSON
{
"hex": "#3c8a1f",
"rgb": {
"r": 60,
"g": 138,
"b": 31
},
"hsl": {
"h": 103.738,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.56285,
"c": 0.15922,
"h": 138.9
},
"luminance": 0.19237
}Semantic roles & 50–950 ramp
primary
#3C8A1F
secondary
#9C4BBA
accent
#41E6BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A