#186731#186731
#186731 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.114 H 149.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #186731 |
|---|---|
| RGB | rgb(24, 103, 49) |
| HSL | hsl(139, 62%, 25%) |
| HSV | hsv(139, 77%, 40%) |
| CMYK | cmyk(76.7%, 0%, 52.4%, 59.6%) |
| CIE-LAB | lab(38.05, -36.34, 23.77) |
| CIE-LCH | lch(38.05, 43.42, 146.81°) |
| OKLab | oklab(45.37% -0.0978 0.0577) |
| OKLCH | oklch(45.37% 0.114 149.4) |
| XYZ | xyz(5.7808, 10.1158, 4.5530) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.53
Pine
#2B5D34
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.44
Deep Green
#02590F
ΔE00 6.32
Hunter Green
#355E3B
ΔE00 6.33
Darkgreen
#006400
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186731 #67184E
analogous
#276718 #186731 #186758
triadic
#186731 #311867 #673118
tetradic
#186731 #182767 #67184E #675818
square
#186731 #182767 #67184E #675818
split-complementary
#186731 #581867 #671827
monochromatic
#06190C #0C3519 #186731 #249949 #2FCA60
Accessibility & contrast
On white
6.95
#186731 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#186731 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186731
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186731 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685E2D
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186731; /* rgb */ color: rgb(24, 103, 49); /* oklch */ color: oklch(45.4% 0.114 149.4);
Tailwind
colors: {
custom: {
50: '#62936a',
500: '#186731',
950: '#000000',
},
}SCSS
$custom: #186731; $custom-light: #62936a; $custom-dark: #000000;
JSON
{
"hex": "#186731",
"rgb": {
"r": 24,
"g": 103,
"b": 49
},
"hsl": {
"h": 138.987,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45372,
"c": 0.11355,
"h": 149.4
},
"luminance": 0.10116
}Semantic roles & 50–950 ramp
primary
#186731
secondary
#9D3E7F
accent
#43B2E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A