Nearest named color · #5F5F5F
#5F5F5F
Nearest named color: Iron
#5F5F5F (rgb(95 95 95), hsl(0 0% 37%), oklch(0.485 0 0)) is closest to the named color Iron. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5F5F5F
oklch(0.485 0 0)
Color conversions
- HEX
- #5f5f5f
- RGB
- rgb(95 95 95)
- HSL
- hsl(0 0% 37%)
- HWB
- hwb(0 37% 63%)
- OKLCH
- oklch(0.485 0 0)
- OKLab
- oklab(0.485 0 0)
- CIE Lab
- lab(40.32 0 0)
- LCH
- lch(40.32 0 0)
- CMYK
- cmyk(0% 0% 0% 63%)
Tints · Shades · Tones
Tints
- 6E6E6E
- 7D7D7D
- 8C8C8C
- 9C9C9C
- ABABAB
- BCBCBC
- CCCCCC
- DDDDDD
- EEEEEE
Shades
- 525252
- 444444
- 383838
- 2C2C2C
- 202020
- 151515
- 0A0A0A
- 030303
- 000000
Tones
- 626262
- 656565
- 696969
- 6C6C6C
- 6F6F6F
- 737373
- 767676
- 797979
- 7D7D7D
Color harmonies
Complementary +180°
- 5F5F5F
Iron
- 5F5F5F
≈ Shades On
Analogous -30° +30°
- 5F5F5F
Iron
- 5F5F5F
≈ Shades On
- 5F5F5F
≈ Shades On
Triadic +120° +240°
- 5F5F5F
Iron
- 5F5F5F
≈ Shades On
- 5F5F5F
≈ Shades On
Split-complementary +150° +210°
- 5F5F5F
Iron
- 5F5F5F
≈ Shades On
- 5F5F5F
≈ Shades On
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 6.38:1 · APCA Lc 82
Ag
FailOn black
WCAG 3.28:1 · APCA Lc 20
Best text color: #FFFFFF
WCAG 6.38:1 (AA) · APCA Lc 82
Contrast pairs
Code snippets
CSS
:root {
--iron: #5f5f5f;
--iron-rgb: 95 95 95;
--iron-oklch: oklch(0.485 0 0);
}
.element {
color: var(--iron);
background-color: hsl(0 0% 37%);
border-color: oklch(0.485 0 0);
}Tailwind CSS v4
@theme {
--color-iron: #5f5f5f;
--color-iron-50: #f5f5f5;
--color-iron-100: #e8e8e8;
--color-iron-200: #d4d4d4;
--color-iron-300: #b7b7b7;
--color-iron-400: #9e9e9e;
--color-iron-500: #868686;
--color-iron-600: #717171;
--color-iron-700: #5b5b5b;
--color-iron-800: #424242;
--color-iron-900: #2e2e2e;
--color-iron-950: #1b1b1b;
}SCSS
$iron: #5f5f5f;
$iron-rgb: 95, 95, 95;
$iron-light: mix(#fff, $iron, 20%);
$iron-dark: mix(#000, $iron, 20%);
.element {
color: $iron;
box-shadow: 0 0 0 2px rgba($iron, 0.35);
}