#186B31#186B31
#186B31 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.119 H 148.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #186B31 |
|---|---|
| RGB | rgb(24, 107, 49) |
| HSL | hsl(138, 63%, 26%) |
| HSV | hsv(138, 78%, 42%) |
| CMYK | cmyk(77.6%, 0%, 54.2%, 58%) |
| CIE-LAB | lab(39.46, -37.92, 25.52) |
| CIE-LCH | lch(39.46, 45.71, 146.05°) |
| OKLab | oklab(46.54% -0.102 0.0617) |
| OKLCH | oklch(46.54% 0.119 148.8) |
| XYZ | xyz(6.1883, 10.9306, 4.6888) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.85
Pine
#2B5D34
ΔE00 5.98
Darkish Green
#287C37
ΔE00 6.12
Forest Green
#2D5A27
ΔE00 6.48
Darkgreen
#006400
ΔE00 6.74
Deep Green
#02590F
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186B31 #6B1852
analogous
#286B18 #186B31 #186B5A
triadic
#186B31 #31186B #6B3118
tetradic
#186B31 #18286B #6B1852 #6B5A18
square
#186B31 #18286B #6B1852 #6B5A18
split-complementary
#186B31 #5A186B #6B1828
monochromatic
#06190B #0D391A #186B31 #239D48 #2ECF5F
Accessibility & contrast
On white
6.59
#186B31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#186B31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186B31
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186B31 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C612C
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #186b31; /* rgb */ color: rgb(24, 107, 49); /* oklch */ color: oklch(46.5% 0.119 148.8);
Tailwind
colors: {
custom: {
50: '#63966a',
500: '#186b31',
950: '#000000',
},
}SCSS
$custom: #186b31; $custom-light: #63966a; $custom-dark: #000000;
JSON
{
"hex": "#186b31",
"rgb": {
"r": 24,
"g": 107,
"b": 49
},
"hsl": {
"h": 138.072,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.46541,
"c": 0.11919,
"h": 148.8
},
"luminance": 0.10931
}Semantic roles & 50–950 ramp
primary
#186B31
secondary
#A13E83
accent
#41B5E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A