#166718#166718
#166718 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.136 H 143.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #166718 |
|---|---|
| RGB | rgb(22, 103, 24) |
| HSL | hsl(121, 65%, 25%) |
| HSV | hsv(121, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(37.73, -40.02, 35.79) |
| CIE-LCH | lch(37.73, 53.69, 138.19°) |
| OKLab | oklab(45% -0.1085 0.0812) |
| OKLCH | oklch(45% 0.136 143.2) |
| XYZ | xyz(5.3457, 9.9364, 2.5002) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.46
Deep Green
#02590F
ΔE00 4.58
Forest
#0B5509
ΔE00 5.74
Forest Green
#2D5A27
ΔE00 6.48
Darkish Green
#287C37
ΔE00 7.70
Pine
#2B5D34
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166718 #671665
analogous
#3D6716 #166718 #166740
triadic
#166718 #181667 #671816
tetradic
#166718 #163D67 #671665 #674016
square
#166718 #163D67 #671665 #674016
split-complementary
#166718 #401667 #67163D
monochromatic
#051906 #0B350C #166718 #219924 #2CCC2F
Accessibility & contrast
On white
7.03
#166718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#166718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166718
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166718 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166718; /* rgb */ color: rgb(22, 103, 24); /* oklch */ color: oklch(45.0% 0.136 143.2);
Tailwind
colors: {
custom: {
50: '#63935a',
500: '#166718',
950: '#000000',
},
}SCSS
$custom: #166718; $custom-light: #63935a; $custom-dark: #000000;
JSON
{
"hex": "#166718",
"rgb": {
"r": 22,
"g": 103,
"b": 24
},
"hsl": {
"h": 121.481,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.45003,
"c": 0.13557,
"h": 143.2
},
"luminance": 0.09937
}Semantic roles & 50–950 ramp
primary
#166718
secondary
#9E3B9B
accent
#40E4E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79