#176F1F#176F1F
#176F1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.140 H 144.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #176F1F |
|---|---|
| RGB | rgb(23, 111, 31) |
| HSL | hsl(125, 66%, 26%) |
| HSV | hsv(125, 79%, 44%) |
| CMYK | cmyk(79.3%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(40.65, -42.01, 35.87) |
| CIE-LCH | lch(40.65, 55.24, 139.51°) |
| OKLab | oklab(47.46% -0.1136 0.0824) |
| OKLCH | oklch(47.46% 0.14 144.1) |
| XYZ | xyz(6.2847, 11.6492, 3.2134) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.38
Darkish Green
#287C37
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 5.95
Green
#008000
ΔE00 6.92
Deep Green
#02590F
ΔE00 7.15
Jungle Green
#048243
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176F1F #6F1767
analogous
#3B6F17 #176F1F #176F4B
triadic
#176F1F #1F176F #6F1F17
tetradic
#176F1F #173B6F #6F1767 #6F4B17
square
#176F1F #173B6F #6F1767 #6F4B17
split-complementary
#176F1F #4B176F #6F173B
monochromatic
#051907 #0C3C11 #176F1F #22A22D #2DD33C
Accessibility & contrast
On white
6.31
#176F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#176F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176F1F
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176F1F | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #176f1f; /* rgb */ color: rgb(23, 111, 31); /* oklch */ color: oklch(47.5% 0.140 144.1);
Tailwind
colors: {
custom: {
50: '#65995f',
500: '#176f1f',
950: '#000000',
},
}SCSS
$custom: #176f1f; $custom-light: #65995f; $custom-dark: #000000;
JSON
{
"hex": "#176f1f",
"rgb": {
"r": 23,
"g": 111,
"b": 31
},
"hsl": {
"h": 125.455,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47456,
"c": 0.14033,
"h": 144.1
},
"luminance": 0.1165
}Semantic roles & 50–950 ramp
primary
#176F1F
secondary
#A53D9B
accent
#3FD9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79