#18661B#18661B
#18661B is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.132 H 143.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #18661B |
|---|---|
| RGB | rgb(24, 102, 27) |
| HSL | hsl(122, 62%, 25%) |
| HSV | hsv(122, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 73.5%, 60%) |
| CIE-LAB | lab(37.44, -39.00, 34.22) |
| CIE-LCH | lch(37.44, 51.89, 138.73°) |
| OKLab | oklab(44.78% -0.1057 0.0784) |
| OKLCH | oklch(44.78% 0.132 143.5) |
| XYZ | xyz(5.3256, 9.7755, 2.6429) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.88
Deep Green
#02590F
ΔE00 4.27
Forest
#0B5509
ΔE00 5.45
Forest Green
#2D5A27
ΔE00 5.92
Pine
#2B5D34
ΔE00 7.36
Darkish Green
#287C37
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18661B #661863
analogous
#3C6618 #18661B #186642
triadic
#18661B #1B1866 #661B18
tetradic
#18661B #183C66 #661863 #664218
square
#18661B #183C66 #661863 #664218
split-complementary
#18661B #421866 #66183C
monochromatic
#061907 #0C340E #18661B #249828 #2FC935
Accessibility & contrast
On white
7.11
#18661B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#18661B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18661B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18661B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18661B | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C10
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #18661b; /* rgb */ color: rgb(24, 102, 27); /* oklch */ color: oklch(44.8% 0.132 143.5);
Tailwind
colors: {
custom: {
50: '#63925c',
500: '#18661b',
950: '#000000',
},
}SCSS
$custom: #18661b; $custom-light: #63925c; $custom-dark: #000000;
JSON
{
"hex": "#18661b",
"rgb": {
"r": 24,
"g": 102,
"b": 27
},
"hsl": {
"h": 122.308,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.44781,
"c": 0.13159,
"h": 143.5
},
"luminance": 0.09776
}Semantic roles & 50–950 ramp
primary
#18661B
secondary
#9C3E98
accent
#43DFE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79