#176840#176840
#176840 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 45.9% C 0.100 H 156.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #176840 |
|---|---|
| RGB | rgb(23, 104, 64) |
| HSL | hsl(150, 64%, 25%) |
| HSV | hsv(150, 78%, 41%) |
| CMYK | cmyk(77.9%, 0%, 38.5%, 59.2%) |
| CIE-LAB | lab(38.64, -33.94, 15.89) |
| CIE-LCH | lch(38.64, 37.48, 154.91°) |
| OKLab | oklab(45.94% -0.0918 0.0399) |
| OKLCH | oklch(45.94% 0.1 156.5) |
| XYZ | xyz(6.2285, 10.4522, 6.5387) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.01
Pine
#2B5D34
ΔE00 4.85
Hunter Green
#355E3B
ΔE00 5.60
Forest Green
#2D5A27
ΔE00 7.37
Darkish Green
#287C37
ΔE00 9.10
Deep Green
#02590F
ΔE00 9.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176840 #68173F
analogous
#176817 #176840 #176868
triadic
#176840 #401768 #684017
tetradic
#176840 #171768 #68173F #686817
square
#176840 #171768 #68173F #686817
split-complementary
#176840 #681768 #681717
monochromatic
#06190F #0C3621 #176840 #229A5F #2DCC7E
Accessibility & contrast
On white
6.79
#176840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#176840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176840
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176840 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5D5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #176840; /* rgb */ color: rgb(23, 104, 64); /* oklch */ color: oklch(45.9% 0.100 156.5);
Tailwind
colors: {
custom: {
50: '#629475',
500: '#176840',
950: '#000000',
},
}SCSS
$custom: #176840; $custom-light: #629475; $custom-dark: #000000;
JSON
{
"hex": "#176840",
"rgb": {
"r": 23,
"g": 104,
"b": 64
},
"hsl": {
"h": 150.37,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.4594,
"c": 0.10008,
"h": 156.5
},
"luminance": 0.10453
}Semantic roles & 50–950 ramp
primary
#176840
secondary
#9E3D6D
accent
#4193E7
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B