#166318#166318
#166318 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.8% C 0.131 H 143.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #166318 |
|---|---|
| RGB | rgb(22, 99, 24) |
| HSL | hsl(122, 64%, 24%) |
| HSV | hsv(122, 78%, 39%) |
| CMYK | cmyk(77.8%, 0%, 75.8%, 61.2%) |
| CIE-LAB | lab(36.29, -38.57, 34.31) |
| CIE-LCH | lch(36.29, 51.62, 138.35°) |
| OKLab | oklab(43.81% -0.1046 0.0781) |
| OKLCH | oklch(43.81% 0.131 143.2) |
| XYZ | xyz(4.9573, 9.1596, 2.3707) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.68
Deep Green
#02590F
ΔE00 3.31
Forest
#0B5509
ΔE00 4.47
Forest Green
#2D5A27
ΔE00 5.44
Pine
#2B5D34
ΔE00 7.15
Bottle Green
#044A05
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166318 #631661
analogous
#3A6316 #166318 #16633E
triadic
#166318 #181663 #631816
tetradic
#166318 #163A63 #631661 #633E16
square
#166318 #163A63 #631661 #633E16
split-complementary
#166318 #3E1663 #63163A
monochromatic
#061906 #0B310C #166318 #219524 #2CC730
Accessibility & contrast
On white
7.42
#166318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#166318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166318
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166318 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166318; /* rgb */ color: rgb(22, 99, 24); /* oklch */ color: oklch(43.8% 0.131 143.2);
Tailwind
colors: {
custom: {
50: '#62905a',
500: '#166318',
950: '#000000',
},
}SCSS
$custom: #166318; $custom-light: #62905a; $custom-dark: #000000;
JSON
{
"hex": "#166318",
"rgb": {
"r": 22,
"g": 99,
"b": 24
},
"hsl": {
"h": 121.558,
"s": 63.636,
"l": 23.725
},
"oklch": {
"l": 0.43809,
"c": 0.13057,
"h": 143.2
},
"luminance": 0.0916
}Semantic roles & 50–950 ramp
primary
#166318
secondary
#9A3B97
accent
#41E2E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79