#313F38 is a mid neutral with only a whisper of temperate cast. On the Color Lab it reads quietly premium, restrained and easy to live with. It reproduces cleanly in print.
Not just a swatch — here's how #313F38 works with other colors. Named schemes with #313F38 in its natural role, and a note on why the supporting colors balance it.
Onyx leads this botanical set among foliage greens and a terracotta accent, softened by cream and grounded in bark brown.
Onyx is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Onyx.
Onyx plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Onyx sets a calm, sun-bleached base here, wrapped in bone and paper off-whites and a soft greige, with a single ink accent for wabi-sabi restraint.
Onyx is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Onyx carrying the quiet middle.
How #313F38 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #313F38 at work across the surfaces designers actually ship.
:root {
--color-base: #313F38;
--color-base-rgb: 49 63 56;
--color-base-oklch: oklch(35.3% 0.022 163.4);
--color-50: #F6F8F7;
--color-100: #E8EDEB;
--color-200: #D1DBD6;
--color-300: #AFC0B8;
--color-400: #8EA499;
--color-500: #6F867A;
--color-600: #596961;
--color-700: #424D47;
--color-800: #2D3430;
--color-900: #1D201F;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
onyx: {
50: '#F6F8F7',
100: '#E8EDEB',
200: '#D1DBD6',
300: '#AFC0B8',
400: '#8EA499',
500: '#6F867A',
600: '#596961',
700: '#424D47',
800: '#2D3430',
900: '#1D201F',
},
}
$base: #313F38; $base-ink: #FFFFFF; $base-50: #F6F8F7; $base-100: #E8EDEB; $base-200: #D1DBD6; $base-300: #AFC0B8; $base-400: #8EA499; $base-500: #6F867A; $base-600: #596961; $base-700: #424D47; $base-800: #2D3430; $base-900: #1D201F; $base-hover: #27332D; $base-subtle: #BDC9C3;
{
"color": {
"base": {
"value": "#313F38",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F8F7",
"type": "color"
},
"100": {
"value": "#E8EDEB",
"type": "color"
},
"200": {
"value": "#D1DBD6",
"type": "color"
},
"300": {
"value": "#AFC0B8",
"type": "color"
},
"400": {
"value": "#8EA499",
"type": "color"
},
"500": {
"value": "#6F867A",
"type": "color"
},
"600": {
"value": "#596961",
"type": "color"
},
"700": {
"value": "#424D47",
"type": "color"
},
"800": {
"value": "#2D3430",
"type": "color"
},
"900": {
"value": "#1D201F",
"type": "color"
}
}
}
}