#175A12#175A12
#175A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.1% C 0.123 H 142.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #175A12 |
|---|---|
| RGB | rgb(23, 90, 18) |
| HSL | hsl(116, 67%, 21%) |
| HSV | hsv(116, 80%, 35%) |
| CMYK | cmyk(74.4%, 0%, 80%, 64.7%) |
| CIE-LAB | lab(33.00, -35.59, 33.44) |
| CIE-LCH | lch(33.00, 48.84, 136.78°) |
| OKLab | oklab(41.07% -0.0969 0.0755) |
| OKLCH | oklch(41.07% 0.123 142.1) |
| XYZ | xyz(4.1185, 7.5377, 1.8100) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.36
Forest
#0B5509
ΔE00 1.76
Darkgreen
#006400
ΔE00 4.24
Forest Green
#2D5A27
ΔE00 4.34
Bottle Green
#044A05
ΔE00 5.02
Darkgreen (survey)
#054907
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175A12 #55125A
analogous
#3B5A12 #175A12 #125A31
triadic
#175A12 #12175A #5A1217
tetradic
#175A12 #123B5A #55125A #5A3112
square
#175A12 #123B5A #55125A #5A3112
split-complementary
#175A12 #31125A #5A123B
monochromatic
#071A05 #0A2708 #175A12 #248D1C #31C026
Accessibility & contrast
On white
8.37
#175A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#175A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175A12
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175A12 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#06574C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #175a12; /* rgb */ color: rgb(23, 90, 18); /* oklch */ color: oklch(41.1% 0.123 142.1);
Tailwind
colors: {
custom: {
50: '#608955',
500: '#175a12',
950: '#000000',
},
}SCSS
$custom: #175a12; $custom-light: #608955; $custom-dark: #000000;
JSON
{
"hex": "#175a12",
"rgb": {
"r": 23,
"g": 90,
"b": 18
},
"hsl": {
"h": 115.833,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41072,
"c": 0.12283,
"h": 142.1
},
"luminance": 0.07538
}Semantic roles & 50–950 ramp
primary
#175A12
secondary
#8C3593
accent
#3EEADE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78