#175F18#175F18
#175F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.125 H 143.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #175F18 |
|---|---|
| RGB | rgb(23, 95, 24) |
| HSL | hsl(121, 61%, 23%) |
| HSV | hsv(121, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(34.87, -36.91, 32.83) |
| CIE-LCH | lch(34.87, 49.40, 138.35°) |
| OKLab | oklab(42.64% -0.1001 0.075) |
| OKLCH | oklch(42.64% 0.125 143.2) |
| XYZ | xyz(4.6101, 8.4320, 2.2486) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.22
Forest
#0B5509
ΔE00 3.31
Darkgreen
#006400
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 4.49
Pine
#2B5D34
ΔE00 6.48
Bottle Green
#044A05
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F18 #5F175E
analogous
#3A5F17 #175F18 #175F3C
triadic
#175F18 #18175F #5F1817
tetradic
#175F18 #173A5F #5F175E #5F3C17
square
#175F18 #173A5F #5F175E #5F3C17
split-complementary
#175F18 #3C175F #5F173A
monochromatic
#061906 #0B2E0C #175F18 #239024 #2FC231
Accessibility & contrast
On white
7.82
#175F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#175F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F18
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F18 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#015C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f18; /* rgb */ color: rgb(23, 95, 24); /* oklch */ color: oklch(42.6% 0.125 143.2);
Tailwind
colors: {
custom: {
50: '#618d59',
500: '#175f18',
950: '#000000',
},
}SCSS
$custom: #175f18; $custom-light: #618d59; $custom-dark: #000000;
JSON
{
"hex": "#175f18",
"rgb": {
"r": 23,
"g": 95,
"b": 24
},
"hsl": {
"h": 120.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42635,
"c": 0.12514,
"h": 143.2
},
"luminance": 0.08433
}Semantic roles & 50–950 ramp
primary
#175F18
secondary
#963C94
accent
#44E2E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79