#175F2C#175F2C
#175F2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.107 H 148.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #175F2C |
|---|---|
| RGB | rgb(23, 95, 44) |
| HSL | hsl(138, 61%, 23%) |
| HSV | hsv(138, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 53.7%, 62.7%) |
| CIE-LAB | lab(35.10, -34.17, 22.89) |
| CIE-LCH | lch(35.10, 41.13, 146.18°) |
| OKLab | oklab(42.9% -0.092 0.0555) |
| OKLCH | oklch(42.9% 0.107 148.9) |
| XYZ | xyz(4.8998, 8.5479, 3.7741) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.22
Spruce
#0A5F38
ΔE00 3.55
Forest Green
#2D5A27
ΔE00 3.73
Deep Green
#02590F
ΔE00 5.01
Hunter Green
#355E3B
ΔE00 5.39
Forest
#0B5509
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F2C #5F174A
analogous
#265F17 #175F2C #175F50
triadic
#175F2C #2C175F #5F2C17
tetradic
#175F2C #17265F #5F174A #5F5017
square
#175F2C #17265F #5F174A #5F5017
split-complementary
#175F2C #50175F #5F1726
monochromatic
#06190B #0B2E15 #175F2C #239043 #2FC25A
Accessibility & contrast
On white
7.75
#175F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#175F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F2C
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F2C | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #175f2c; /* rgb */ color: rgb(23, 95, 44); /* oklch */ color: oklch(42.9% 0.107 148.9);
Tailwind
colors: {
custom: {
50: '#608d66',
500: '#175f2c',
950: '#000000',
},
}SCSS
$custom: #175f2c; $custom-light: #608d66; $custom-dark: #000000;
JSON
{
"hex": "#175f2c",
"rgb": {
"r": 23,
"g": 95,
"b": 44
},
"hsl": {
"h": 137.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42902,
"c": 0.10741,
"h": 148.9
},
"luminance": 0.08548
}Semantic roles & 50–950 ramp
primary
#175F2C
secondary
#963C7C
accent
#44B5E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A