#186A2F#186A2F
#186A2F is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.120 H 148.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #186A2F |
|---|---|
| RGB | rgb(24, 106, 47) |
| HSL | hsl(137, 63%, 25%) |
| HSV | hsv(137, 77%, 42%) |
| CMYK | cmyk(77.4%, 0%, 55.7%, 58.4%) |
| CIE-LAB | lab(39.08, -37.86, 26.15) |
| CIE-LCH | lch(39.08, 46.01, 145.37°) |
| OKLab | oklab(46.22% -0.1019 0.0629) |
| OKLCH | oklch(46.22% 0.12 148.3) |
| XYZ | xyz(6.0433, 10.7068, 4.4369) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.86
Pine
#2B5D34
ΔE00 5.86
Forest Green
#2D5A27
ΔE00 6.18
Darkgreen
#006400
ΔE00 6.36
Darkish Green
#287C37
ΔE00 6.37
Deep Green
#02590F
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186A2F #6A1853
analogous
#2A6A18 #186A2F #186A58
triadic
#186A2F #2F186A #6A2F18
tetradic
#186A2F #182A6A #6A1853 #6A5818
square
#186A2F #182A6A #6A1853 #6A5818
split-complementary
#186A2F #58186A #6A182A
monochromatic
#06190B #0D3819 #186A2F #239C45 #2FCE5B
Accessibility & contrast
On white
6.68
#186A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#186A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186A2F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186A2F | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#625933
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186a2f; /* rgb */ color: rgb(24, 106, 47); /* oklch */ color: oklch(46.2% 0.120 148.3);
Tailwind
colors: {
custom: {
50: '#639569',
500: '#186a2f',
950: '#000000',
},
}SCSS
$custom: #186a2f; $custom-light: #639569; $custom-dark: #000000;
JSON
{
"hex": "#186a2f",
"rgb": {
"r": 24,
"g": 106,
"b": 47
},
"hsl": {
"h": 136.829,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.46217,
"c": 0.11974,
"h": 148.3
},
"luminance": 0.10707
}Semantic roles & 50–950 ramp
primary
#186A2F
secondary
#A03E84
accent
#42B8E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A