#186E1F#186E1F
#186E1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.139 H 144.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #186E1F |
|---|---|
| RGB | rgb(24, 110, 31) |
| HSL | hsl(125, 64%, 26%) |
| HSV | hsv(125, 78%, 43%) |
| CMYK | cmyk(78.2%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.32, -41.49, 35.52) |
| CIE-LCH | lch(40.32, 54.62, 139.43°) |
| OKLab | oklab(47.18% -0.1123 0.0816) |
| OKLCH | oklch(47.18% 0.139 144) |
| XYZ | xyz(6.1995, 11.4443, 3.1783) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.18
Darkish Green
#287C37
ΔE00 5.48
Tree Green
#2A7E19
ΔE00 6.25
Deep Green
#02590F
ΔE00 6.83
Green
#008000
ΔE00 7.24
Forest Green
#2D5A27
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186E1F #6E1867
analogous
#3C6E18 #186E1F #186E4A
triadic
#186E1F #1F186E #6E1F18
tetradic
#186E1F #183C6E #6E1867 #6E4A18
square
#186E1F #183C6E #6E1867 #6E4A18
split-complementary
#186E1F #4A186E #6E183C
monochromatic
#051907 #0D3C11 #186E1F #23A02D #2FD23C
Accessibility & contrast
On white
6.38
#186E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#186E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186E1F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186E1F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #186e1f; /* rgb */ color: rgb(24, 110, 31); /* oklch */ color: oklch(47.2% 0.139 144.0);
Tailwind
colors: {
custom: {
50: '#65985f',
500: '#186e1f',
950: '#000000',
},
}SCSS
$custom: #186e1f; $custom-light: #65985f; $custom-dark: #000000;
JSON
{
"hex": "#186e1f",
"rgb": {
"r": 24,
"g": 110,
"b": 31
},
"hsl": {
"h": 124.884,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.47184,
"c": 0.13879,
"h": 144
},
"luminance": 0.11445
}Semantic roles & 50–950 ramp
primary
#186E1F
secondary
#A43E9B
accent
#41DAE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79