#166728#166728
#166728 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.123 H 146.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #166728 |
|---|---|
| RGB | rgb(22, 103, 40) |
| HSL | hsl(133, 65%, 25%) |
| HSV | hsv(133, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 61.2%, 59.6%) |
| CIE-LAB | lab(37.88, -38.12, 28.43) |
| CIE-LCH | lch(37.88, 47.55, 143.29°) |
| OKLab | oklab(45.18% -0.1027 0.0674) |
| OKLCH | oklch(45.18% 0.123 146.7) |
| XYZ | xyz(5.5637, 10.0236, 3.6486) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.14
Forest Green
#2D5A27
ΔE00 5.48
Pine
#2B5D34
ΔE00 5.85
Spruce
#0A5F38
ΔE00 6.20
Forest
#0B5509
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166728 #671655
analogous
#2D6716 #166728 #166751
triadic
#166728 #281667 #672816
tetradic
#166728 #162D67 #671655 #675116
square
#166728 #162D67 #671655 #675116
split-complementary
#166728 #511667 #67162D
monochromatic
#05190A #0B3514 #166728 #21993C #2CCC4F
Accessibility & contrast
On white
6.99
#166728 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#166728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166728
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166728 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166728; /* rgb */ color: rgb(22, 103, 40); /* oklch */ color: oklch(45.2% 0.123 146.7);
Tailwind
colors: {
custom: {
50: '#629364',
500: '#166728',
950: '#000000',
},
}SCSS
$custom: #166728; $custom-light: #629364; $custom-dark: #000000;
JSON
{
"hex": "#166728",
"rgb": {
"r": 22,
"g": 103,
"b": 40
},
"hsl": {
"h": 133.333,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.45184,
"c": 0.12283,
"h": 146.7
},
"luminance": 0.10024
}Semantic roles & 50–950 ramp
primary
#166728
secondary
#9E3B88
accent
#40C3E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A