#0C170E#0C170E
#0C170E is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.1% C 0.024 H 149.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).
Color values
| HEX | #0C170E |
|---|---|
| RGB | rgb(12, 23, 14) |
| HSL | hsl(131, 31%, 7%) |
| HSV | hsv(131, 48%, 9%) |
| CMYK | cmyk(47.8%, 0%, 39.1%, 91%) |
| CIE-LAB | lab(6.53, -6.12, 3.72) |
| CIE-LCH | lch(6.53, 7.17, 148.71°) |
| OKLab | oklab(19.06% -0.0208 0.0123) |
| OKLCH | oklch(19.06% 0.024 149.4) |
| XYZ | xyz(0.5373, 0.7226, 0.5266) |
| Luminance | 0.0072 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 6.69
Black
#000000
ΔE00 8.97
Charcoal (survey)
#343837
ΔE00 12.30
Gunmetal
#2A3439
ΔE00 12.62
Dark Grey
#363737
ΔE00 13.20
Onyx
#353839
ΔE00 13.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C170E #170C15
analogous
#10170C #0C170E #0C1714
triadic
#0C170E #0E0C17 #170E0C
tetradic
#0C170E #0C1017 #170C15 #17140C
square
#0C170E #0C1017 #170C15 #17140C
split-complementary
#0C170E #140C17 #170C10
monochromatic
#0A140C #0A140C #0C170E #213F26 #36673F
Accessibility & contrast
On white
18.35
#0C170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#0C170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C170E
18.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C170E | 1.00 | 18.35 | 1.14 | 18.35 |
| #FFFFFF | 18.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17150D
Deuteranopia (green-blind)
#15140E
Tritanopia (blue-blind)
#0A1715
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #0c170e; /* rgb */ color: rgb(12, 23, 14); /* oklch */ color: oklch(19.1% 0.024 149.4);
Tailwind
colors: {
custom: {
50: '#4c534d',
500: '#0c170e',
950: '#000000',
},
}SCSS
$custom: #0c170e; $custom-light: #4c534d; $custom-dark: #000000;
JSON
{
"hex": "#0c170e",
"rgb": {
"r": 12,
"g": 23,
"b": 14
},
"hsl": {
"h": 130.909,
"s": 31.429,
"l": 6.863
},
"oklch": {
"l": 0.19064,
"c": 0.02419,
"h": 149.4
},
"luminance": 0.00723
}Semantic roles & 50–950 ramp
primary
#0C170E
secondary
#4D3148
accent
#60B5C8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877