#175312#175312
#175312 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.114 H 142.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #175312 |
|---|---|
| RGB | rgb(23, 83, 18) |
| HSL | hsl(115, 64%, 20%) |
| HSV | hsv(115, 78%, 33%) |
| CMYK | cmyk(72.3%, 0%, 78.3%, 67.5%) |
| CIE-LAB | lab(30.43, -32.90, 30.84) |
| CIE-LCH | lch(30.43, 45.09, 136.86°) |
| OKLab | oklab(38.94% -0.0896 0.07) |
| OKLCH | oklch(38.94% 0.114 142) |
| XYZ | xyz(3.5556, 6.4120, 1.6224) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.69
Deep Green
#02590F
ΔE00 2.59
Bottle Green
#044A05
ΔE00 3.00
Darkgreen (survey)
#054907
ΔE00 3.22
British Racing Green
#05480D
ΔE00 3.65
Forest Green (survey)
#06470C
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175312 #4E1253
analogous
#375312 #175312 #12532E
triadic
#175312 #121753 #531217
tetradic
#175312 #123753 #4E1253 #532E12
square
#175312 #123753 #4E1253 #532E12
split-complementary
#175312 #2E1253 #531237
monochromatic
#071905 #092107 #175312 #25851D #33B828
Accessibility & contrast
On white
9.20
#175312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#175312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175312
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175312 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#0A5046
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #175312; /* rgb */ color: rgb(23, 83, 18); /* oklch */ color: oklch(38.9% 0.114 142.0);
Tailwind
colors: {
custom: {
50: '#5e8454',
500: '#175312',
950: '#000000',
},
}SCSS
$custom: #175312; $custom-light: #5e8454; $custom-dark: #000000;
JSON
{
"hex": "#175312",
"rgb": {
"r": 23,
"g": 83,
"b": 18
},
"hsl": {
"h": 115.385,
"s": 64.356,
"l": 19.804
},
"oklch": {
"l": 0.3894,
"c": 0.11374,
"h": 142
},
"luminance": 0.06412
}Semantic roles & 50–950 ramp
primary
#175312
secondary
#85358C
accent
#40E7DB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78