#187818#187818
#187818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.155 H 142.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #187818 |
|---|---|
| RGB | rgb(24, 120, 24) |
| HSL | hsl(120, 67%, 28%) |
| HSV | hsv(120, 80%, 47%) |
| CMYK | cmyk(80%, 0%, 80%, 52.9%) |
| CIE-LAB | lab(43.79, -45.58, 41.85) |
| CIE-LCH | lch(43.79, 61.88, 137.44°) |
| OKLab | oklab(50.05% -0.1237 0.0939) |
| OKLCH | oklch(50.05% 0.155 142.8) |
| XYZ | xyz(7.2576, 13.6922, 3.1243) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.64
Green
#008000
ΔE00 3.47
Darkish Green
#287C37
ΔE00 4.59
Dark Grass Green
#388004
ΔE00 5.15
Darkgreen
#006400
ΔE00 6.72
Forestgreen (CSS)
#228B22
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187818 #781878
analogous
#487818 #187818 #187848
triadic
#187818 #181878 #781818
tetradic
#187818 #184878 #781878 #784818
square
#187818 #184878 #781878 #784818
split-complementary
#187818 #481878 #781848
monochromatic
#051A05 #0E450E #187818 #22AB22 #34D634
Accessibility & contrast
On white
5.62
#187818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#187818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187818
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187818 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #187818; /* rgb */ color: rgb(24, 120, 24); /* oklch */ color: oklch(50.1% 0.155 142.8);
Tailwind
colors: {
custom: {
50: '#68a05d',
500: '#187818',
950: '#000000',
},
}SCSS
$custom: #187818; $custom-light: #68a05d; $custom-dark: #000000;
JSON
{
"hex": "#187818",
"rgb": {
"r": 24,
"g": 120,
"b": 24
},
"hsl": {
"h": 120,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.50051,
"c": 0.15531,
"h": 142.8
},
"luminance": 0.13693
}Semantic roles & 50–950 ramp
primary
#187818
secondary
#AD3FAD
accent
#3EEAEA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79