#186B1B#186B1B
#186B1B is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.138 H 143.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #186B1B |
|---|---|
| RGB | rgb(24, 107, 27) |
| HSL | hsl(122, 63%, 26%) |
| HSV | hsv(122, 78%, 42%) |
| CMYK | cmyk(77.6%, 0%, 74.8%, 58%) |
| CIE-LAB | lab(39.22, -40.81, 36.09) |
| CIE-LCH | lch(39.22, 54.48, 138.51°) |
| OKLab | oklab(46.26% -0.1106 0.0823) |
| OKLCH | oklch(46.26% 0.138 143.4) |
| XYZ | xyz(5.8318, 10.7880, 2.8116) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.25
Deep Green
#02590F
ΔE00 5.87
Darkish Green
#287C37
ΔE00 6.49
Tree Green
#2A7E19
ΔE00 7.01
Forest
#0B5509
ΔE00 7.05
Forest Green
#2D5A27
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186B1B #6B1868
analogous
#3E6B18 #186B1B #186B44
triadic
#186B1B #1B186B #6B1B18
tetradic
#186B1B #183E6B #6B1868 #6B4418
square
#186B1B #183E6B #6B1868 #6B4418
split-complementary
#186B1B #44186B #6B183E
monochromatic
#061906 #0D390E #186B1B #239D28 #2ECF34
Accessibility & contrast
On white
6.65
#186B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#186B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186B1B
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186B1B | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186b1b; /* rgb */ color: rgb(24, 107, 27); /* oklch */ color: oklch(46.3% 0.138 143.4);
Tailwind
colors: {
custom: {
50: '#64965d',
500: '#186b1b',
950: '#000000',
},
}SCSS
$custom: #186b1b; $custom-light: #64965d; $custom-dark: #000000;
JSON
{
"hex": "#186b1b",
"rgb": {
"r": 24,
"g": 107,
"b": 27
},
"hsl": {
"h": 122.169,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.46262,
"c": 0.13788,
"h": 143.4
},
"luminance": 0.10789
}Semantic roles & 50–950 ramp
primary
#186B1B
secondary
#A13E9D
accent
#41E0E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79