#5F625F Dim Gray
rgb(95, 98, 95)
Color conversions
- HEX
- #5F625F
- RGB
- rgb(95, 98, 95)
- RGBA
- rgba(95, 98, 95, 1)
- HSL
- hsl(120, 2%, 38%)
- HSV / HSB
- hsv(120, 3%, 38%)
- CMYK
- cmyk(3%, 0%, 3%, 62%)
Wide-gamut spaces
- XYZ
- xyz(11.152, 11.994, 12.552)
- LAB
- lab(41.21 -1.8 1.3)
- LCH
- lch(41.21 2.22 144.28)
- OKLAB
- oklab(49.25% -0.0049 0.0034)
- OKLCH
- oklch(49.25% 0.006 145.48)
- Nearest name
- Dim Gray
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#5f625f1a
#5f625f33
#5f625f4d
#5f625f66
#5f625f80
#5f625f99
#5f625fb3
#5f625fcc
#5f625fe6
#5f625fff
Accessibility and contrast
On white
6.18:1
Body text AA · Large text AA
On black
3.4:1
Body text AA Large · Large text AA
White-on-color contrast is 6.18:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
The structural colour every interface actually runs on
Neutral grays carry no emotional charge, which is precisely their value: they let content and brand colour do the signalling. Their temperature matters more than designers expect — a cool gray beside a warm brand colour reads as a mistake.
Neutrality, professionalism, and precision. Overuse reads as noncommittal or unfinished.
Payne's gray, mixed rather than mined, became the painter's shortcut for atmospheric shadow. Swiss modernism turned systematic gray scales into a design methodology.
Build a full gray ramp before choosing a brand colour. Match the gray's temperature to the brand hue and reserve the darkest steps for type rather than large fills.
Common industries: Enterprise, Architecture, Automotive, Consulting, Hardware. Pairs well with a single saturated accent, warm white for text surfaces, near-black for hierarchy.
Code exports
CSS
:root {
--color-dim-gray: #5f625f;
--color-dim-gray-rgb: 95 98 95;
--color-dim-gray-hsl: 120 2% 38%;
--color-dim-gray-oklch: 49.25% 0.006 145.48;
}
.element {
color: #5f625f;
background-color: hsl(120, 2%, 38%);
border: 1px solid rgb(95 98 95 / 40%);
}SCSS
$dim-gray: #5f625f;
$dim-gray-light: #afb1af;
$dim-gray-dark: #303130;
.element {
color: $dim-gray;
background: rgba($dim-gray, 0.12);
&:hover {
color: darken($dim-gray, 8%);
}
}LESS
@dim-gray: #5f625f;
@dim-gray-light: lighten(@dim-gray, 12%);
@dim-gray-dark: darken(@dim-gray, 12%);
.element {
color: @dim-gray;
background: fade(@dim-gray, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-dim-gray-50: #dfe0df;
--color-dim-gray-100: #cfd0cf;
--color-dim-gray-200: #bfc0bf;
--color-dim-gray-300: #9fa19f;
--color-dim-gray-400: #7f817f;
--color-dim-gray-500: #5f625f;
--color-dim-gray-600: #565856;
--color-dim-gray-700: #434543;
--color-dim-gray-800: #303130;
--color-dim-gray-900: #1d1d1d;
}
/* Usage */
<div class="bg-dim-gray-500 text-dim-gray-50 ring-dim-gray-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#5f625f]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$dim-gray: #5f625f;
$primary: $dim-gray;
$theme-colors: map-merge($theme-colors, (
"dim-gray": $dim-gray
));
// Generates .text-dim-gray, .bg-dim-gray, .btn-dim-gray
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color dimGray = Color(0xFF5F625F);
// As a MaterialColor swatch
const MaterialColor dimGraySwatch = MaterialColor(0xFF5F625F, <int, Color>{
50: Color(0xFFDFE0DF),
100: Color(0xFFCFD0CF),
200: Color(0xFFBFC0BF),
300: Color(0xFF9FA19F),
400: Color(0xFF7F817F),
500: Color(0xFF5F625F),
600: Color(0xFF565856),
700: Color(0xFF434543),
800: Color(0xFF303130),
900: Color(0xFF1D1D1D),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #5f625f — Dim Gray
static let dimGray = Color(
red: 0.3725,
green: 0.3843,
blue: 0.3725
)
}
// UIKit
extension UIColor {
static let dimGray = UIColor(
red: 0.3725,
green: 0.3843,
blue: 0.3725,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="dim_gray">#5F625F</color>
<color name="dim_gray_translucent">#805F625F</color>
</resources>
<!-- Jetpack Compose -->
val DimGray = Color(0xFF5F625F)JavaScript
export const DIM_GRAY = {
hex: "#5f625f",
rgb: [95, 98, 95],
hsl: [120, 2, 38],
oklch: "oklch(49.25% 0.006 145.48)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"dim-gray": {
"$type": "color",
"$value": "#5f625f",
"$description": "Dim Gray — generated by ColorVerse AI"
}
}