#175F1C#175F1C
#175F1C is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.122 H 144.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #175F1C |
|---|---|
| RGB | rgb(23, 95, 28) |
| HSL | hsl(124, 61%, 23%) |
| HSV | hsv(124, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 70.5%, 62.7%) |
| CIE-LAB | lab(34.90, -36.47, 31.04) |
| CIE-LCH | lch(34.90, 47.89, 139.60°) |
| OKLab | oklab(42.68% -0.0988 0.0718) |
| OKLCH | oklch(42.68% 0.122 144) |
| XYZ | xyz(4.6549, 8.4499, 2.4841) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.42
Forest
#0B5509
ΔE00 3.56
Darkgreen
#006400
ΔE00 4.09
Forest Green
#2D5A27
ΔE00 4.09
Pine
#2B5D34
ΔE00 5.86
Bottle Green
#044A05
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F1C #5F175A
analogous
#365F17 #175F1C #175F40
triadic
#175F1C #1C175F #5F1C17
tetradic
#175F1C #17365F #5F175A #5F4017
square
#175F1C #17365F #5F175A #5F4017
split-complementary
#175F1C #40175F #5F1736
monochromatic
#061907 #0B2E0D #175F1C #23902B #2FC239
Accessibility & contrast
On white
7.81
#175F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#175F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F1C
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F1C | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#595022
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f1c; /* rgb */ color: rgb(23, 95, 28); /* oklch */ color: oklch(42.7% 0.122 144.0);
Tailwind
colors: {
custom: {
50: '#618d5c',
500: '#175f1c',
950: '#000000',
},
}SCSS
$custom: #175f1c; $custom-light: #618d5c; $custom-dark: #000000;
JSON
{
"hex": "#175f1c",
"rgb": {
"r": 23,
"g": 95,
"b": 28
},
"hsl": {
"h": 124.167,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42676,
"c": 0.1221,
"h": 144
},
"luminance": 0.0845
}Semantic roles & 50–950 ramp
primary
#175F1C
secondary
#963C8F
accent
#44D9E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79