#176F21#176F21
#176F21 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.139 H 144.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #176F21 |
|---|---|
| RGB | rgb(23, 111, 33) |
| HSL | hsl(127, 66%, 26%) |
| HSV | hsv(127, 79%, 44%) |
| CMYK | cmyk(79.3%, 0%, 70.3%, 56.5%) |
| CIE-LAB | lab(40.67, -41.79, 35.00) |
| CIE-LCH | lch(40.67, 54.51, 140.06°) |
| OKLab | oklab(47.48% -0.1129 0.0808) |
| OKLCH | oklch(47.48% 0.139 144.4) |
| XYZ | xyz(6.3119, 11.6601, 3.3565) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.56
Darkish Green
#287C37
ΔE00 5.11
Tree Green
#2A7E19
ΔE00 6.10
Green
#008000
ΔE00 7.10
Deep Green
#02590F
ΔE00 7.15
Jungle Green
#048243
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176F21 #6F1765
analogous
#396F17 #176F21 #176F4D
triadic
#176F21 #21176F #6F2117
tetradic
#176F21 #17396F #6F1765 #6F4D17
square
#176F21 #17396F #6F1765 #6F4D17
split-complementary
#176F21 #4D176F #6F1739
monochromatic
#051908 #0C3C12 #176F21 #22A230 #2DD340
Accessibility & contrast
On white
6.30
#176F21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#176F21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176F21
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176F21 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716417
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #176f21; /* rgb */ color: rgb(23, 111, 33); /* oklch */ color: oklch(47.5% 0.139 144.4);
Tailwind
colors: {
custom: {
50: '#659960',
500: '#176f21',
950: '#000000',
},
}SCSS
$custom: #176f21; $custom-light: #659960; $custom-dark: #000000;
JSON
{
"hex": "#176f21",
"rgb": {
"r": 23,
"g": 111,
"b": 33
},
"hsl": {
"h": 126.818,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47476,
"c": 0.13885,
"h": 144.4
},
"luminance": 0.11661
}Semantic roles & 50–950 ramp
primary
#176F21
secondary
#A53D99
accent
#3FD5E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79