#175918#175918
#175918 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.117 H 143.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #175918 |
|---|---|
| RGB | rgb(23, 89, 24) |
| HSL | hsl(121, 59%, 22%) |
| HSV | hsv(121, 74%, 35%) |
| CMYK | cmyk(74.2%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(32.68, -34.63, 30.51) |
| CIE-LCH | lch(32.68, 46.15, 138.61°) |
| OKLab | oklab(40.83% -0.094 0.0702) |
| OKLCH | oklch(40.83% 0.117 143.2) |
| XYZ | xyz(4.0904, 7.3924, 2.0753) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.67
Forest
#0B5509
ΔE00 2.11
Forest Green
#2D5A27
ΔE00 3.59
Bottle Green
#044A05
ΔE00 4.79
Darkgreen (survey)
#054907
ΔE00 5.02
Darkgreen
#006400
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175918 #591758
analogous
#375917 #175918 #175939
triadic
#175918 #181759 #591817
tetradic
#175918 #173759 #591758 #593917
square
#175918 #173759 #591758 #593917
split-complementary
#175918 #391759 #591737
monochromatic
#061807 #0A280B #175918 #248A25 #30BA32
Accessibility & contrast
On white
8.47
#175918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#175918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175918
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175918 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#05564C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #175918; /* rgb */ color: rgb(23, 89, 24); /* oklch */ color: oklch(40.8% 0.117 143.2);
Tailwind
colors: {
custom: {
50: '#5f8959',
500: '#175918',
950: '#000000',
},
}SCSS
$custom: #175918; $custom-light: #5f8959; $custom-dark: #000000;
JSON
{
"hex": "#175918",
"rgb": {
"r": 23,
"g": 89,
"b": 24
},
"hsl": {
"h": 120.909,
"s": 58.929,
"l": 21.961
},
"oklch": {
"l": 0.40825,
"c": 0.11728,
"h": 143.2
},
"luminance": 0.07393
}Semantic roles & 50–950 ramp
primary
#175918
secondary
#903C8F
accent
#46E0E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78