#175B12#175B12
#175B12 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.4% C 0.124 H 142.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #175B12 |
|---|---|
| RGB | rgb(23, 91, 18) |
| HSL | hsl(116, 67%, 21%) |
| HSV | hsv(116, 80%, 36%) |
| CMYK | cmyk(74.7%, 0%, 80.2%, 64.3%) |
| CIE-LAB | lab(33.37, -35.97, 33.81) |
| CIE-LCH | lch(33.37, 49.36, 136.77°) |
| OKLab | oklab(41.38% -0.0979 0.0762) |
| OKLCH | oklch(41.38% 0.124 142.1) |
| XYZ | xyz(4.2034, 7.7075, 1.8383) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.44
Forest
#0B5509
ΔE00 2.02
Darkgreen
#006400
ΔE00 3.93
Forest Green
#2D5A27
ΔE00 4.46
Bottle Green
#044A05
ΔE00 5.33
Darkgreen (survey)
#054907
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175B12 #56125B
analogous
#3C5B12 #175B12 #125B32
triadic
#175B12 #12175B #5B1217
tetradic
#175B12 #123C5B #56125B #5B3212
square
#175B12 #123C5B #56125B #5B3212
split-complementary
#175B12 #32125B #5B123C
monochromatic
#061A05 #0A2808 #175B12 #248E1C #31C126
Accessibility & contrast
On white
8.26
#175B12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#175B12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175B12
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175B12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175B12 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5204
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#05584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #175b12; /* rgb */ color: rgb(23, 91, 18); /* oklch */ color: oklch(41.4% 0.124 142.1);
Tailwind
colors: {
custom: {
50: '#608a56',
500: '#175b12',
950: '#000000',
},
}SCSS
$custom: #175b12; $custom-light: #608a56; $custom-dark: #000000;
JSON
{
"hex": "#175b12",
"rgb": {
"r": 23,
"g": 91,
"b": 18
},
"hsl": {
"h": 115.89,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41375,
"c": 0.1241,
"h": 142.1
},
"luminance": 0.07708
}Semantic roles & 50–950 ramp
primary
#175B12
secondary
#8D3593
accent
#3EEADE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78