#176831#176831
#176831 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.115 H 149.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #176831 |
|---|---|
| RGB | rgb(23, 104, 49) |
| HSL | hsl(139, 64%, 25%) |
| HSV | hsv(139, 78%, 41%) |
| CMYK | cmyk(77.9%, 0%, 52.9%, 59.2%) |
| CIE-LAB | lab(38.38, -36.91, 24.18) |
| CIE-LCH | lch(38.38, 44.12, 146.77°) |
| OKLab | oklab(45.64% -0.0993 0.0587) |
| OKLCH | oklch(45.64% 0.115 149.4) |
| XYZ | xyz(5.8576, 10.3039, 4.5853) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.83
Pine
#2B5D34
ΔE00 5.04
Forest Green
#2D5A27
ΔE00 5.73
Deep Green
#02590F
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.62
Darkgreen
#006400
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176831 #68174E
analogous
#266817 #176831 #176859
triadic
#176831 #311768 #683117
tetradic
#176831 #172668 #68174E #685917
square
#176831 #172668 #68174E #685917
split-complementary
#176831 #591768 #681726
monochromatic
#06190C #0C3619 #176831 #229A49 #2DCC60
Accessibility & contrast
On white
6.86
#176831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#176831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176831
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176831 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5835
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #176831; /* rgb */ color: rgb(23, 104, 49); /* oklch */ color: oklch(45.6% 0.115 149.4);
Tailwind
colors: {
custom: {
50: '#62946a',
500: '#176831',
950: '#000000',
},
}SCSS
$custom: #176831; $custom-light: #62946a; $custom-dark: #000000;
JSON
{
"hex": "#176831",
"rgb": {
"r": 23,
"g": 104,
"b": 49
},
"hsl": {
"h": 139.259,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.45641,
"c": 0.1153,
"h": 149.4
},
"luminance": 0.10305
}Semantic roles & 50–950 ramp
primary
#176831
secondary
#9E3D7F
accent
#41B2E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A