#18661C#18661C
#18661C is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.131 H 143.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #18661C |
|---|---|
| RGB | rgb(24, 102, 28) |
| HSL | hsl(123, 62%, 25%) |
| HSV | hsv(123, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 72.5%, 60%) |
| CIE-LAB | lab(37.45, -38.90, 33.79) |
| CIE-LCH | lch(37.45, 51.52, 139.02°) |
| OKLab | oklab(44.79% -0.1054 0.0776) |
| OKLCH | oklch(44.79% 0.131 143.6) |
| XYZ | xyz(5.3373, 9.7802, 2.7049) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.03
Deep Green
#02590F
ΔE00 4.27
Forest
#0B5509
ΔE00 5.47
Forest Green
#2D5A27
ΔE00 5.84
Pine
#2B5D34
ΔE00 7.23
Darkish Green
#287C37
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18661C #661862
analogous
#3B6618 #18661C #186643
triadic
#18661C #1C1866 #661C18
tetradic
#18661C #183B66 #661862 #664318
square
#18661C #183B66 #661862 #664318
split-complementary
#18661C #431866 #66183B
monochromatic
#061907 #0C340E #18661C #24982A #2FC937
Accessibility & contrast
On white
7.10
#18661C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#18661C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18661C
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18661C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18661C | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C11
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #18661c; /* rgb */ color: rgb(24, 102, 28); /* oklch */ color: oklch(44.8% 0.131 143.6);
Tailwind
colors: {
custom: {
50: '#63925c',
500: '#18661c',
950: '#000000',
},
}SCSS
$custom: #18661c; $custom-light: #63925c; $custom-dark: #000000;
JSON
{
"hex": "#18661c",
"rgb": {
"r": 24,
"g": 102,
"b": 28
},
"hsl": {
"h": 123.077,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.44791,
"c": 0.13087,
"h": 143.6
},
"luminance": 0.09781
}Semantic roles & 50–950 ramp
primary
#18661C
secondary
#9C3E97
accent
#43DDE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79