Nearest named color · #5E724F
#5E724F
Nearest named color: Cactus
#5E724F (rgb(94 114 79), hsl(94 18% 38%), oklch(0.526 0.058 132.3)) is closest to the named color Cactus. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5E724F
oklch(0.526 0.058 132.3)
Color conversions
- HEX
- #5e724f
- RGB
- rgb(94 114 79)
- HSL
- hsl(94 18% 38%)
- HWB
- hwb(94 31% 55%)
- OKLCH
- oklch(0.526 0.058 132.3)
- OKLab
- oklab(0.526 -0.039 0.043)
- CIE Lab
- lab(45.67 -12.91 16.92)
- LCH
- lch(45.67 21.28 127.3)
- CMYK
- cmyk(18% 0% 31% 55%)
Tints · Shades · Tones
Tints
- 6D7F5F
- 7C8D70
- 8B9A81
- 9BA892
- ABB6A3
- BBC4B5
- CCD3C7
- DDE1DA
- EEF0EC
Shades
- 516244
- 445338
- 37442E
- 2B3623
- 1F2819
- 141B10
- 0A0E07
- 030402
- 000100
Tones
- 617354
- 657559
- 68765E
- 6C7863
- 6F7968
- 727B6D
- 767C71
- 797D76
- 7D7F7B
Color harmonies
Complementary +180°
- 5E724F
Cactus
- 766183
≈ Grape Compote
Analogous -30° +30°
- 5E724F
Cactus
- 716C44
≈ Trough Shell
- 4B7561
≈ Green Valley
Triadic +120° +240°
- 5E724F
Cactus
- 526D8C
≈ Berry Pie
- 895D61
≈ Rabbit Paws
Split-complementary +150° +210°
- 5E724F
Cactus
- 65678C
≈ Twilight Purple
- 835D74
≈ Purple Gumdrop
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--cactus: #5e724f;
--cactus-rgb: 94 114 79;
--cactus-oklch: oklch(0.526 0.058 132.3);
}
.element {
color: var(--cactus);
background-color: hsl(94 18% 38%);
border-color: oklch(0.526 0.058 132.3);
}Tailwind CSS v4
@theme {
--color-cactus: #5e724f;
--color-cactus-50: #eef9e9;
--color-cactus-100: #e0edd9;
--color-cactus-200: #cadac1;
--color-cactus-300: #abbea1;
--color-cactus-400: #92a683;
--color-cactus-500: #788f67;
--color-cactus-600: #657957;
--color-cactus-700: #516145;
--color-cactus-800: #3c4731;
--color-cactus-900: #293121;
--color-cactus-950: #171d11;
}SCSS
$cactus: #5e724f;
$cactus-rgb: 94, 114, 79;
$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);
}