#186F31#186F31
#186F31 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.125 H 148.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #186F31 |
|---|---|
| RGB | rgb(24, 111, 49) |
| HSL | hsl(137, 64%, 26%) |
| HSV | hsv(137, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 55.9%, 56.5%) |
| CIE-LAB | lab(40.87, -39.47, 27.25) |
| CIE-LCH | lch(40.87, 47.96, 145.38°) |
| OKLab | oklab(47.71% -0.1061 0.0655) |
| OKLCH | oklch(47.71% 0.125 148.3) |
| XYZ | xyz(6.6150, 11.7841, 4.8311) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.73
Jungle Green
#048243
ΔE00 6.69
Darkgreen
#006400
ΔE00 6.79
Spruce
#0A5F38
ΔE00 7.21
Pine
#2B5D34
ΔE00 7.32
Forest Green
#2D5A27
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F31 #6F1856
analogous
#2B6F18 #186F31 #186F5D
triadic
#186F31 #31186F #6F3118
tetradic
#186F31 #182B6F #6F1856 #6F5D18
square
#186F31 #182B6F #6F1856 #6F5D18
split-complementary
#186F31 #5D186F #6F182B
monochromatic
#05190B #0D3D1B #186F31 #23A147 #2FD25E
Accessibility & contrast
On white
6.26
#186F31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#186F31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F31
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F31 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70652B
Deuteranopia (green-blind)
#665E36
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f31; /* rgb */ color: rgb(24, 111, 49); /* oklch */ color: oklch(47.7% 0.125 148.3);
Tailwind
colors: {
custom: {
50: '#64996b',
500: '#186f31',
950: '#000000',
},
}SCSS
$custom: #186f31; $custom-light: #64996b; $custom-dark: #000000;
JSON
{
"hex": "#186f31",
"rgb": {
"r": 24,
"g": 111,
"b": 49
},
"hsl": {
"h": 137.241,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47706,
"c": 0.12473,
"h": 148.3
},
"luminance": 0.11785
}Semantic roles & 50–950 ramp
primary
#186F31
secondary
#A53E87
accent
#40B7E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A