#176F28#176F28
#176F28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 145.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #176F28 |
|---|---|
| RGB | rgb(23, 111, 40) |
| HSL | hsl(132, 66%, 26%) |
| HSV | hsv(132, 79%, 44%) |
| CMYK | cmyk(79.3%, 0%, 64%, 56.5%) |
| CIE-LAB | lab(40.74, -40.94, 31.75) |
| CIE-LCH | lch(40.74, 51.81, 142.21°) |
| OKLab | oklab(47.56% -0.1103 0.0746) |
| OKLCH | oklch(47.56% 0.133 145.9) |
| XYZ | xyz(6.4203, 11.7035, 3.9277) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.73
Darkgreen
#006400
ΔE00 5.38
Tree Green
#2A7E19
ΔE00 6.77
Jungle Green
#048243
ΔE00 7.26
Deep Green
#02590F
ΔE00 7.27
Green
#008000
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176F28 #6F175E
analogous
#326F17 #176F28 #176F54
triadic
#176F28 #28176F #6F2817
tetradic
#176F28 #17326F #6F175E #6F5417
square
#176F28 #17326F #6F175E #6F5417
split-complementary
#176F28 #54176F #6F1732
monochromatic
#051909 #0C3C16 #176F28 #22A23A #2DD34D
Accessibility & contrast
On white
6.29
#176F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#176F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176F28
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176F28 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#675D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #176f28; /* rgb */ color: rgb(23, 111, 40); /* oklch */ color: oklch(47.6% 0.133 145.9);
Tailwind
colors: {
custom: {
50: '#649965',
500: '#176f28',
950: '#000000',
},
}SCSS
$custom: #176f28; $custom-light: #649965; $custom-dark: #000000;
JSON
{
"hex": "#176f28",
"rgb": {
"r": 23,
"g": 111,
"b": 40
},
"hsl": {
"h": 131.591,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47557,
"c": 0.1332,
"h": 145.9
},
"luminance": 0.11704
}Semantic roles & 50–950 ramp
primary
#176F28
secondary
#A53D91
accent
#3FC8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A