#186F28#186F28
#186F28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 145.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #186F28 |
|---|---|
| RGB | rgb(24, 111, 40) |
| HSL | hsl(131, 64%, 26%) |
| HSV | hsv(131, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 64%, 56.5%) |
| CIE-LAB | lab(40.76, -40.78, 31.77) |
| CIE-LCH | lch(40.76, 51.70, 142.08°) |
| OKLab | oklab(47.58% -0.1099 0.0747) |
| OKLCH | oklch(47.58% 0.133 145.8) |
| XYZ | xyz(6.4437, 11.7155, 3.9288) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.72
Darkgreen
#006400
ΔE00 5.37
Tree Green
#2A7E19
ΔE00 6.75
Jungle Green
#048243
ΔE00 7.27
Deep Green
#02590F
ΔE00 7.28
Forest Green
#2D5A27
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F28 #6F185F
analogous
#346F18 #186F28 #186F54
triadic
#186F28 #28186F #6F2818
tetradic
#186F28 #18346F #6F185F #6F5418
square
#186F28 #18346F #6F185F #6F5418
split-complementary
#186F28 #54186F #6F1834
monochromatic
#051909 #0D3D16 #186F28 #23A13A #2FD24D
Accessibility & contrast
On white
6.28
#186F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#186F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F28
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F28 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#675D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f28; /* rgb */ color: rgb(24, 111, 40); /* oklch */ color: oklch(47.6% 0.133 145.8);
Tailwind
colors: {
custom: {
50: '#659965',
500: '#186f28',
950: '#000000',
},
}SCSS
$custom: #186f28; $custom-light: #659965; $custom-dark: #000000;
JSON
{
"hex": "#186f28",
"rgb": {
"r": 24,
"g": 111,
"b": 40
},
"hsl": {
"h": 131.034,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47579,
"c": 0.13289,
"h": 145.8
},
"luminance": 0.11716
}Semantic roles & 50–950 ramp
primary
#186F28
secondary
#A53E92
accent
#40C9E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A