#166727#166727
#166727 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.124 H 146.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #166727 |
|---|---|
| RGB | rgb(22, 103, 39) |
| HSL | hsl(133, 65%, 25%) |
| HSV | hsv(133, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 62.1%, 59.6%) |
| CIE-LAB | lab(37.87, -38.27, 28.93) |
| CIE-LCH | lch(37.87, 47.97, 142.91°) |
| OKLab | oklab(45.17% -0.1031 0.0684) |
| OKLCH | oklch(45.17% 0.124 146.4) |
| XYZ | xyz(5.5469, 10.0169, 3.5602) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.91
Deep Green
#02590F
ΔE00 5.04
Forest Green
#2D5A27
ΔE00 5.51
Pine
#2B5D34
ΔE00 5.98
Forest
#0B5509
ΔE00 6.35
Spruce
#0A5F38
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166727 #671656
analogous
#2D6716 #166727 #166750
triadic
#166727 #271667 #672716
tetradic
#166727 #162D67 #671656 #675016
square
#166727 #162D67 #671656 #675016
split-complementary
#166727 #501667 #67162D
monochromatic
#05190A #0B3514 #166727 #21993A #2CCC4D
Accessibility & contrast
On white
6.99
#166727 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#166727 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166727
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166727 | 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)
#685D20
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166727; /* rgb */ color: rgb(22, 103, 39); /* oklch */ color: oklch(45.2% 0.124 146.4);
Tailwind
colors: {
custom: {
50: '#629363',
500: '#166727',
950: '#000000',
},
}SCSS
$custom: #166727; $custom-light: #629363; $custom-dark: #000000;
JSON
{
"hex": "#166727",
"rgb": {
"r": 22,
"g": 103,
"b": 39
},
"hsl": {
"h": 132.593,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.4517,
"c": 0.12374,
"h": 146.4
},
"luminance": 0.10018
}Semantic roles & 50–950 ramp
primary
#166727
secondary
#9E3B89
accent
#40C5E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A