#186F1B#186F1B
#186F1B is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.143 H 143.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #186F1B |
|---|---|
| RGB | rgb(24, 111, 27) |
| HSL | hsl(122, 64%, 26%) |
| HSV | hsv(122, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 75.7%, 56.5%) |
| CIE-LAB | lab(40.64, -42.23, 37.56) |
| CIE-LCH | lch(40.64, 56.52, 138.35°) |
| OKLab | oklab(47.44% -0.1145 0.0854) |
| OKLCH | oklch(47.44% 0.143 143.3) |
| XYZ | xyz(6.2586, 11.6415, 2.9539) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.10
Darkish Green
#287C37
ΔE00 5.55
Tree Green
#2A7E19
ΔE00 5.68
Green
#008000
ΔE00 6.60
Deep Green
#02590F
ΔE00 7.21
Dark Grass Green
#388004
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F1B #6F186C
analogous
#416F18 #186F1B #186F47
triadic
#186F1B #1B186F #6F1B18
tetradic
#186F1B #18416F #6F186C #6F4718
square
#186F1B #18416F #6F186C #6F4718
split-complementary
#186F1B #47186F #6F1841
monochromatic
#051906 #0D3D0F #186F1B #23A127 #2FD235
Accessibility & contrast
On white
6.31
#186F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#186F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F1B
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F1B | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640C
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f1b; /* rgb */ color: rgb(24, 111, 27); /* oklch */ color: oklch(47.4% 0.143 143.3);
Tailwind
colors: {
custom: {
50: '#65995d',
500: '#186f1b',
950: '#000000',
},
}SCSS
$custom: #186f1b; $custom-light: #65995d; $custom-dark: #000000;
JSON
{
"hex": "#186f1b",
"rgb": {
"r": 24,
"g": 111,
"b": 27
},
"hsl": {
"h": 122.069,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47441,
"c": 0.14281,
"h": 143.3
},
"luminance": 0.11642
}Semantic roles & 50–950 ramp
primary
#186F1B
secondary
#A53EA1
accent
#40E2E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79