#3B8218#3B8218
#3B8218 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.154 H 137.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3B8218 |
|---|---|
| RGB | rgb(59, 130, 24) |
| HSL | hsl(100, 69%, 30%) |
| HSV | hsv(100, 82%, 51%) |
| CMYK | cmyk(54.6%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(48.21, -41.11, 46.44) |
| CIE-LCH | lch(48.21, 62.02, 131.52°) |
| OKLab | oklab(53.99% -0.1139 0.1031) |
| OKLCH | oklch(53.99% 0.154 137.8) |
| XYZ | xyz(9.9508, 16.9602, 3.6133) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.53
Tree Green
#2A7E19
ΔE00 2.54
Green
#008000
ΔE00 3.85
Forestgreen (CSS)
#228B22
ΔE00 4.09
Avocado
#568203
ΔE00 5.26
Emerald Green
#028F1E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B8218 #5F1882
analogous
#708218 #3B8218 #18822A
triadic
#3B8218 #183B82 #82183B
tetradic
#3B8218 #187082 #5F1882 #822A18
square
#3B8218 #187082 #5F1882 #822A18
split-complementary
#3B8218 #2A1882 #821870
monochromatic
#0C1B05 #244E0E #3B8218 #52B622 #6FDB3A
Accessibility & contrast
On white
4.78
#3B8218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#3B8218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B8218
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B8218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B8218 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#357D6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3b8218; /* rgb */ color: rgb(59, 130, 24); /* oklch */ color: oklch(54.0% 0.154 137.8);
Tailwind
colors: {
custom: {
50: '#79a75f',
500: '#3b8218',
950: '#000000',
},
}SCSS
$custom: #3b8218; $custom-light: #79a75f; $custom-dark: #000000;
JSON
{
"hex": "#3b8218",
"rgb": {
"r": 59,
"g": 130,
"b": 24
},
"hsl": {
"h": 100.189,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.53992,
"c": 0.15359,
"h": 137.8
},
"luminance": 0.16961
}Semantic roles & 50–950 ramp
primary
#3B8218
secondary
#8F40B6
accent
#3CECB2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79