#0C170D#0C170D
#0C170D is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.0% C 0.026 H 146.7°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).
Color values
| HEX | #0C170D |
|---|---|
| RGB | rgb(12, 23, 13) |
| HSL | hsl(125, 31%, 7%) |
| HSV | hsv(125, 48%, 9%) |
| CMYK | cmyk(47.8%, 0%, 43.5%, 91%) |
| CIE-LAB | lab(6.50, -6.30, 4.18) |
| CIE-LCH | lch(6.50, 7.56, 146.42°) |
| OKLab | oklab(19.03% -0.0214 0.0141) |
| OKLCH | oklch(19.03% 0.026 146.7) |
| XYZ | xyz(0.5306, 0.7200, 0.4917) |
| Luminance | 0.0072 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 7.00
Black
#000000
ΔE00 9.21
Charcoal (survey)
#343837
ΔE00 12.47
Gunmetal
#2A3439
ΔE00 12.90
Dark Grey
#363737
ΔE00 13.38
Onyx
#353839
ΔE00 13.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C170D #170C16
analogous
#11170C #0C170D #0C1713
triadic
#0C170D #0D0C17 #170D0C
tetradic
#0C170D #0C1117 #170C16 #17130C
square
#0C170D #0C1117 #170C16 #17130C
split-complementary
#0C170D #130C17 #170C11
monochromatic
#0A140B #0A140B #0C170D #213F24 #36673A
Accessibility & contrast
On white
18.36
#0C170D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#0C170D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C170D
18.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C170D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C170D | 1.00 | 18.36 | 1.14 | 18.36 |
| #FFFFFF | 18.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17150C
Deuteranopia (green-blind)
#16140E
Tritanopia (blue-blind)
#0B1614
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #0c170d; /* rgb */ color: rgb(12, 23, 13); /* oklch */ color: oklch(19.0% 0.026 146.7);
Tailwind
colors: {
custom: {
50: '#4c534c',
500: '#0c170d',
950: '#000000',
},
}SCSS
$custom: #0c170d; $custom-light: #4c534c; $custom-dark: #000000;
JSON
{
"hex": "#0c170d",
"rgb": {
"r": 12,
"g": 23,
"b": 13
},
"hsl": {
"h": 125.455,
"s": 31.429,
"l": 6.863
},
"oklch": {
"l": 0.19033,
"c": 0.02565,
"h": 146.7
},
"luminance": 0.0072
}Semantic roles & 50–950 ramp
primary
#0C170D
secondary
#4D314B
accent
#60BEC8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877