Nearest named color · #5E7160
#5E7160
Nearest named color: Cactus
#5E7160 (rgb(94 113 96), hsl(126 9% 41%), oklch(0.528 0.035 148)) is closest to the named color Cactus. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5E7160
oklch(0.528 0.035 148)
Color conversions
- HEX
- #5e7160
- RGB
- rgb(94 113 96)
- HSL
- hsl(126 9% 41%)
- HWB
- hwb(126 37% 56%)
- OKLCH
- oklch(0.528 0.035 148)
- OKLab
- oklab(0.528 -0.029 0.018)
- CIE Lab
- lab(45.69 -10.07 7.01)
- LCH
- lch(45.69 12.27 145.2)
- CMYK
- cmyk(17% 0% 15% 56%)
Tints · Shades · Tones
Tints
- 6D7E6F
- 7C8C7E
- 8C998D
- 9BA79C
- ABB6AC
- BCC4BC
- CCD2CD
- DDE1DD
- EEF0EE
Shades
- 516152
- 445245
- 374338
- 2B352C
- 1F2720
- 141A15
- 0A0E0A
- 030403
- 000100
Tones
- 617363
- 657466
- 68766A
- 6C776D
- 6F7970
- 727A73
- 767C76
- 797D7A
- 7D7F7D
Color harmonies
Complementary +180°
- 5E7160
Cactus
- 776476
≈ Purple Suede
Analogous -30° +30°
- 5E7160
Cactus
- 696E58
≈ Iwai Brown
- 56726B
≈ Evening Emerald
Triadic +120° +240°
- 5E7160
Cactus
- 626B80
≈ Clooney
- 7E6460
≈ Plumburn
Split-complementary +150° +210°
- 5E7160
Cactus
- 6D677D
≈ Victorian Iris
- 7D636B
≈ Celine
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.24:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--cactus: #5e7160;
--cactus-rgb: 94 113 96;
--cactus-oklch: oklch(0.528 0.035 148);
}
.element {
color: var(--cactus);
background-color: hsl(126 9% 41%);
border-color: oklch(0.528 0.035 148);
}Tailwind CSS v4
@theme {
--color-cactus: #5e7160;
--color-cactus-50: #eff8f0;
--color-cactus-100: #e0ebe2;
--color-cactus-200: #cad9cd;
--color-cactus-300: #abbdae;
--color-cactus-400: #91a493;
--color-cactus-500: #778d79;
--color-cactus-600: #657767;
--color-cactus-700: #515f52;
--color-cactus-800: #3b463b;
--color-cactus-900: #283029;
--color-cactus-950: #161d17;
}SCSS
$cactus: #5e7160;
$cactus-rgb: 94, 113, 96;
$cactus-light: mix(#fff, $cactus, 20%);
$cactus-dark: mix(#000, $cactus, 20%);
.element {
color: $cactus;
box-shadow: 0 0 0 2px rgba($cactus, 0.35);
}