#0C170F#0C170F
#0C170F is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.1% C 0.023 H 152.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).
Color values
| HEX | #0C170F |
|---|---|
| RGB | rgb(12, 23, 15) |
| HSL | hsl(136, 31%, 7%) |
| HSV | hsv(136, 48%, 9%) |
| CMYK | cmyk(47.8%, 0%, 34.8%, 91%) |
| CIE-LAB | lab(6.55, -5.95, 3.24) |
| CIE-LCH | lch(6.55, 6.78, 151.42°) |
| OKLab | oklab(19.1% -0.0202 0.0106) |
| OKLCH | oklch(19.1% 0.023 152.4) |
| XYZ | xyz(0.5442, 0.7254, 0.5632) |
| Luminance | 0.0073 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 6.36
Black
#000000
ΔE00 8.72
Charcoal (survey)
#343837
ΔE00 12.13
Gunmetal
#2A3439
ΔE00 12.32
Dark Grey
#363737
ΔE00 13.02
Onyx
#353839
ΔE00 13.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C170F #170C14
analogous
#0F170C #0C170F #0C1715
triadic
#0C170F #0F0C17 #170F0C
tetradic
#0C170F #0C0F17 #170C14 #17150C
square
#0C170F #0C0F17 #170C14 #17150C
split-complementary
#0C170F #150C17 #170C0F
monochromatic
#0A140D #0A140D #0C170F #213F29 #366743
Accessibility & contrast
On white
18.34
#0C170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#0C170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C170F
18.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C170F | 1.00 | 18.34 | 1.15 | 18.34 |
| #FFFFFF | 18.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17150F
Deuteranopia (green-blind)
#15140F
Tritanopia (blue-blind)
#0A1715
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #0c170f; /* rgb */ color: rgb(12, 23, 15); /* oklch */ color: oklch(19.1% 0.023 152.4);
Tailwind
colors: {
custom: {
50: '#4c534e',
500: '#0c170f',
950: '#000000',
},
}SCSS
$custom: #0c170f; $custom-light: #4c534e; $custom-dark: #000000;
JSON
{
"hex": "#0c170f",
"rgb": {
"r": 12,
"g": 23,
"b": 15
},
"hsl": {
"h": 136.364,
"s": 31.429,
"l": 6.863
},
"oklch": {
"l": 0.19096,
"c": 0.02278,
"h": 152.4
},
"luminance": 0.00725
}Semantic roles & 50–950 ramp
primary
#0C170F
secondary
#4D3146
accent
#60ABC8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877