#186C31#186C31
#186C31 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.121 H 148.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #186C31 |
|---|---|
| RGB | rgb(24, 108, 49) |
| HSL | hsl(138, 64%, 26%) |
| HSV | hsv(138, 78%, 42%) |
| CMYK | cmyk(77.8%, 0%, 54.6%, 57.6%) |
| CIE-LAB | lab(39.82, -38.31, 25.96) |
| CIE-LCH | lch(39.82, 46.27, 145.88°) |
| OKLab | oklab(46.83% -0.103 0.0627) |
| OKLCH | oklch(46.83% 0.121 148.7) |
| XYZ | xyz(6.2931, 11.1403, 4.7238) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.77
Spruce
#0A5F38
ΔE00 6.19
Pine
#2B5D34
ΔE00 6.31
Darkgreen
#006400
ΔE00 6.72
Forest Green
#2D5A27
ΔE00 6.77
Deep Green
#02590F
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C31 #6C1853
analogous
#296C18 #186C31 #186C5B
triadic
#186C31 #31186C #6C3118
tetradic
#186C31 #18296C #6C1853 #6C5B18
square
#186C31 #18296C #6C1853 #6C5B18
split-complementary
#186C31 #5B186C #6C1829
monochromatic
#06190B #0D3A1A #186C31 #239E48 #2ED05E
Accessibility & contrast
On white
6.51
#186C31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#186C31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C31
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C31 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #186c31; /* rgb */ color: rgb(24, 108, 49); /* oklch */ color: oklch(46.8% 0.121 148.7);
Tailwind
colors: {
custom: {
50: '#63976a',
500: '#186c31',
950: '#000000',
},
}SCSS
$custom: #186c31; $custom-light: #63976a; $custom-dark: #000000;
JSON
{
"hex": "#186c31",
"rgb": {
"r": 24,
"g": 108,
"b": 49
},
"hsl": {
"h": 137.857,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.46833,
"c": 0.12059,
"h": 148.7
},
"luminance": 0.11141
}Semantic roles & 50–950 ramp
primary
#186C31
secondary
#A23E84
accent
#41B5E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A