Nearest named color · #5B765C
#5B765C
Nearest named color: Cactus
#5B765C (rgb(91 118 92), hsl(122 13% 41%), oklch(0.537 0.051 145.8)) is closest to the named color Cactus. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5B765C
oklch(0.537 0.051 145.8)
Color conversions
- HEX
- #5b765c
- RGB
- rgb(91 118 92)
- HSL
- hsl(122 13% 41%)
- HWB
- hwb(122 36% 54%)
- OKLCH
- oklch(0.537 0.051 145.8)
- OKLab
- oklab(0.537 -0.042 0.029)
- CIE Lab
- lab(46.93 -14.39 11.04)
- LCH
- lch(46.93 18.14 142.5)
- CMYK
- cmyk(23% 0% 22% 54%)
Tints · Shades · Tones
Tints
- 6A836B
- 7A907A
- 8A9D8A
- 9AAB9A
- AAB8AA
- BAC6BB
- CBD4CB
- DCE2DC
- EEF1EE
Shades
- 4E664F
- 415642
- 354736
- 29382A
- 1E291F
- 131C14
- 090F0A
- 030503
- 000100
Tones
- 5F7760
- 637863
- 667967
- 6A7A6A
- 6E7B6E
- 717C72
- 757D75
- 797E79
- 7C7F7C
Color harmonies
Complementary +180°
- 5B765C
Cactus
- 7E647E
≈ Grape Jelly
Analogous -30° +30°
Triadic +120° +240°
- 5B765C
Cactus
- 606D8C
≈ Beguiling Blue
- 89635E
≈ Forbidden Thrill
Split-complementary +150° +210°
- 5B765C
Cactus
- 706889
≈ Aromatic
- 86626F
≈ Glazed Ringlet
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.01:1 · APCA Lc 75
Ag
FailOn black
WCAG 4.19:1 · APCA Lc 27
Best text color: #FFFFFF
WCAG 5.01:1 (AA) · APCA Lc 75
Contrast pairs
Code snippets
CSS
:root {
--cactus: #5b765c;
--cactus-rgb: 91 118 92;
--cactus-oklch: oklch(0.537 0.051 145.8);
}
.element {
color: var(--cactus);
background-color: hsl(122 13% 41%);
border-color: oklch(0.537 0.051 145.8);
}Tailwind CSS v4
@theme {
--color-cactus: #5b765c;
--color-cactus-50: #ecf9ed;
--color-cactus-100: #ddedde;
--color-cactus-200: #c6dbc8;
--color-cactus-300: #a7bfa9;
--color-cactus-400: #8ca78d;
--color-cactus-500: #719072;
--color-cactus-600: #607961;
--color-cactus-700: #4c614d;
--color-cactus-800: #384737;
--color-cactus-900: #263126;
--color-cactus-950: #151d14;
}SCSS
$cactus: #5b765c;
$cactus-rgb: 91, 118, 92;
$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);
}