#186915#186915
#186915 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.139 H 142.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #186915 |
|---|---|
| RGB | rgb(24, 105, 21) |
| HSL | hsl(118, 67%, 25%) |
| HSV | hsv(118, 80%, 41%) |
| CMYK | cmyk(77.1%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(38.47, -40.63, 37.72) |
| CIE-LCH | lch(38.47, 55.44, 137.13°) |
| OKLab | oklab(45.62% -0.1104 0.0848) |
| OKLCH | oklch(45.62% 0.139 142.5) |
| XYZ | xyz(5.5633, 10.3509, 2.4140) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.40
Deep Green
#02590F
ΔE00 5.35
Forest
#0B5509
ΔE00 6.42
Forest Green
#2D5A27
ΔE00 7.23
Darkish Green
#287C37
ΔE00 7.36
Tree Green
#2A7E19
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186915 #661569
analogous
#426915 #186915 #15693C
triadic
#186915 #151869 #691518
tetradic
#186915 #154269 #661569 #693C15
square
#186915 #154269 #661569 #693C15
split-complementary
#186915 #3C1569 #691542
monochromatic
#061A05 #0C360B #186915 #249C1F #2FCF29
Accessibility & contrast
On white
6.84
#186915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#186915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186915
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186915 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5E03
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #186915; /* rgb */ color: rgb(24, 105, 21); /* oklch */ color: oklch(45.6% 0.139 142.5);
Tailwind
colors: {
custom: {
50: '#649559',
500: '#186915',
950: '#000000',
},
}SCSS
$custom: #186915; $custom-light: #649559; $custom-dark: #000000;
JSON
{
"hex": "#186915",
"rgb": {
"r": 24,
"g": 105,
"b": 21
},
"hsl": {
"h": 117.857,
"s": 66.667,
"l": 24.706
},
"oklch": {
"l": 0.45621,
"c": 0.13926,
"h": 142.5
},
"luminance": 0.10351
}Semantic roles & 50–950 ramp
primary
#186915
secondary
#9C3AA0
accent
#3EEAE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79