#176B1F#176B1F
#176B1F is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.135 H 144.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #176B1F |
|---|---|
| RGB | rgb(23, 107, 31) |
| HSL | hsl(126, 65%, 25%) |
| HSV | hsv(126, 79%, 42%) |
| CMYK | cmyk(78.5%, 0%, 71%, 58%) |
| CIE-LAB | lab(39.23, -40.58, 34.35) |
| CIE-LCH | lch(39.23, 53.16, 139.75°) |
| OKLab | oklab(46.28% -0.1097 0.0792) |
| OKLCH | oklch(46.28% 0.135 144.2) |
| XYZ | xyz(5.8580, 10.7958, 3.0711) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.69
Deep Green
#02590F
ΔE00 5.84
Darkish Green
#287C37
ΔE00 6.26
Forest
#0B5509
ΔE00 7.08
Forest Green
#2D5A27
ΔE00 7.12
Tree Green
#2A7E19
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176B1F #6B1763
analogous
#396B17 #176B1F #176B49
triadic
#176B1F #1F176B #6B1F17
tetradic
#176B1F #17396B #6B1763 #6B4917
square
#176B1F #17396B #6B1763 #6B4917
split-complementary
#176B1F #49176B #6B1739
monochromatic
#051907 #0C3910 #176B1F #229D2E #2DD03C
Accessibility & contrast
On white
6.65
#176B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#176B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176B1F
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176B1F | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #176b1f; /* rgb */ color: rgb(23, 107, 31); /* oklch */ color: oklch(46.3% 0.135 144.2);
Tailwind
colors: {
custom: {
50: '#64965f',
500: '#176b1f',
950: '#000000',
},
}SCSS
$custom: #176b1f; $custom-light: #64965f; $custom-dark: #000000;
JSON
{
"hex": "#176b1f",
"rgb": {
"r": 23,
"g": 107,
"b": 31
},
"hsl": {
"h": 125.714,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.46278,
"c": 0.13531,
"h": 144.2
},
"luminance": 0.10796
}Semantic roles & 50–950 ramp
primary
#176B1F
secondary
#A13D98
accent
#40D8E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79