#175812#175812
#175812 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.5% C 0.120 H 142.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #175812 |
|---|---|
| RGB | rgb(23, 88, 18) |
| HSL | hsl(116, 66%, 21%) |
| HSV | hsv(116, 80%, 35%) |
| CMYK | cmyk(73.9%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.27, -34.84, 32.71) |
| CIE-LCH | lch(32.27, 47.78, 136.81°) |
| OKLab | oklab(40.47% -0.0949 0.0739) |
| OKLCH | oklch(40.47% 0.12 142.1) |
| XYZ | xyz(3.9520, 7.2049, 1.7546) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.37
Deep Green
#02590F
ΔE00 1.44
Forest Green
#2D5A27
ΔE00 4.18
Bottle Green
#044A05
ΔE00 4.41
Darkgreen (survey)
#054907
ΔE00 4.72
Darkgreen
#006400
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175812 #531258
analogous
#3A5812 #175812 #125830
triadic
#175812 #121758 #581217
tetradic
#175812 #123A58 #531258 #583012
square
#175812 #123A58 #531258 #583012
split-complementary
#175812 #301258 #58123A
monochromatic
#071905 #0A2508 #175812 #248B1C #32BE27
Accessibility & contrast
On white
8.60
#175812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#175812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175812
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175812 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#07554A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #175812; /* rgb */ color: rgb(23, 88, 18); /* oklch */ color: oklch(40.5% 0.120 142.1);
Tailwind
colors: {
custom: {
50: '#5f8855',
500: '#175812',
950: '#000000',
},
}SCSS
$custom: #175812; $custom-light: #5f8855; $custom-dark: #000000;
JSON
{
"hex": "#175812",
"rgb": {
"r": 23,
"g": 88,
"b": 18
},
"hsl": {
"h": 115.714,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40465,
"c": 0.12027,
"h": 142.1
},
"luminance": 0.07205
}Semantic roles & 50–950 ramp
primary
#175812
secondary
#8A3591
accent
#3FE9DD
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78