#166418#166418
#166418 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.1% C 0.132 H 143.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #166418 |
|---|---|
| RGB | rgb(22, 100, 24) |
| HSL | hsl(122, 64%, 24%) |
| HSV | hsv(122, 78%, 39%) |
| CMYK | cmyk(78%, 0%, 76%, 60.8%) |
| CIE-LAB | lab(36.65, -38.94, 34.68) |
| CIE-LCH | lch(36.65, 52.14, 138.31°) |
| OKLab | oklab(44.11% -0.1056 0.0789) |
| OKLCH | oklch(44.11% 0.132 143.2) |
| XYZ | xyz(5.0526, 9.3503, 2.4025) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.56
Deep Green
#02590F
ΔE00 3.62
Forest
#0B5509
ΔE00 4.78
Forest Green
#2D5A27
ΔE00 5.69
Pine
#2B5D34
ΔE00 7.35
Bottle Green
#044A05
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166418 #641662
analogous
#3B6416 #166418 #16643F
triadic
#166418 #181664 #641816
tetradic
#166418 #163B64 #641662 #643F16
square
#166418 #163B64 #641662 #643F16
split-complementary
#166418 #3F1664 #64163B
monochromatic
#061906 #0B320C #166418 #219624 #2CC830
Accessibility & contrast
On white
7.32
#166418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#166418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166418
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166418 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#5D5420
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #166418; /* rgb */ color: rgb(22, 100, 24); /* oklch */ color: oklch(44.1% 0.132 143.2);
Tailwind
colors: {
custom: {
50: '#62915a',
500: '#166418',
950: '#000000',
},
}SCSS
$custom: #166418; $custom-light: #62915a; $custom-dark: #000000;
JSON
{
"hex": "#166418",
"rgb": {
"r": 22,
"g": 100,
"b": 24
},
"hsl": {
"h": 121.538,
"s": 63.934,
"l": 23.922
},
"oklch": {
"l": 0.44108,
"c": 0.13183,
"h": 143.2
},
"luminance": 0.09351
}Semantic roles & 50–950 ramp
primary
#166418
secondary
#9B3B98
accent
#41E3E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79