#3F8A1C#3F8A1C
#3F8A1C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.159 H 138.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3F8A1C |
|---|---|
| RGB | rgb(63, 138, 28) |
| HSL | hsl(101, 66%, 33%) |
| HSV | hsv(101, 80%, 54%) |
| CMYK | cmyk(54.3%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(51.06, -42.83, 47.88) |
| CIE-LCH | lch(51.06, 64.24, 131.81°) |
| OKLab | oklab(56.39% -0.1185 0.1067) |
| OKLCH | oklch(56.39% 0.159 138) |
| XYZ | xyz(11.3476, 19.3167, 4.2289) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.06
Dark Grass Green
#388004
ΔE00 3.85
Emerald Green
#028F1E
ΔE00 4.15
True Green
#089404
ΔE00 4.62
Sap Green
#5C8B15
ΔE00 4.90
Tree Green
#2A7E19
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F8A1C #671C8A
analogous
#768A1C #3F8A1C #1C8A30
triadic
#3F8A1C #1C3F8A #8A1C3F
tetradic
#3F8A1C #1C768A #671C8A #8A301C
square
#3F8A1C #1C768A #671C8A #8A301C
split-complementary
#3F8A1C #301C8A #8A1C76
monochromatic
#112407 #285712 #3F8A1C #56BD26 #76DA47
Accessibility & contrast
On white
4.32
#3F8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#3F8A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3F8A1C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F8A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3F8A1C | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #3f8a1c; /* rgb */ color: rgb(63, 138, 28); /* oklch */ color: oklch(56.4% 0.159 138.0);
Tailwind
colors: {
custom: {
50: '#7dad62',
500: '#3f8a1c',
950: '#000000',
},
}SCSS
$custom: #3f8a1c; $custom-light: #7dad62; $custom-dark: #000000;
JSON
{
"hex": "#3f8a1c",
"rgb": {
"r": 63,
"g": 138,
"b": 28
},
"hsl": {
"h": 100.909,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.56388,
"c": 0.15943,
"h": 138
},
"luminance": 0.19318
}Semantic roles & 50–950 ramp
primary
#3F8A1C
secondary
#9646BB
accent
#3FE9B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A