Nearest named color · #5E7250
#5E7250
Nearest named color: Cactus
#5E7250 (rgb(94 114 80), hsl(95 18% 38%), oklch(0.526 0.057 132.8)) is closest to the named color Cactus. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5E7250
oklch(0.526 0.057 132.8)
Color conversions
- HEX
- #5e7250
- RGB
- rgb(94 114 80)
- HSL
- hsl(95 18% 38%)
- HWB
- hwb(95 31% 55%)
- OKLCH
- oklch(0.526 0.057 132.8)
- OKLab
- oklab(0.526 -0.039 0.042)
- CIE Lab
- lab(45.69 -12.79 16.36)
- LCH
- lch(45.69 20.77 128)
- CMYK
- cmyk(18% 0% 30% 55%)
Tints · Shades · Tones
Tints
- 6D7F60
- 7C8D71
- 8B9A81
- 9BA893
- ABB6A4
- BBC4B6
- CCD3C8
- DDE1DA
- EEF0EC
Shades
- 516244
- 445339
- 37442E
- 2B3624
- 1F281A
- 141B10
- 0A0E07
- 030402
- 000100
Tones
- 617355
- 65755A
- 68765F
- 6C7863
- 6F7968
- 727B6D
- 767C72
- 797D77
- 7D7F7B
Color harmonies
Complementary +180°
- 5E7250
Cactus
- 766182
≈ Grape Compote
Analogous -30° +30°
- 5E7250
Cactus
- 716C45
≈ Capulet Olive
- 4B7561
≈ Green Valley
Triadic +120° +240°
- 5E7250
Cactus
- 536D8B
≈ Electronic
- 885D61
≈ Rabbit Paws
Split-complementary +150° +210°
- 5E7250
Cactus
- 66678B
≈ Twilight Purple
- 825E73
≈ Majestic Plum
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: #5e7250;
--cactus-rgb: 94 114 80;
--cactus-oklch: oklch(0.526 0.057 132.8);
}
.element {
color: var(--cactus);
background-color: hsl(95 18% 38%);
border-color: oklch(0.526 0.057 132.8);
}Tailwind CSS v4
@theme {
--color-cactus: #5e7250;
--color-cactus-50: #eef9e9;
--color-cactus-100: #e0ecda;
--color-cactus-200: #cadac2;
--color-cactus-300: #abbea1;
--color-cactus-400: #92a684;
--color-cactus-500: #788f68;
--color-cactus-600: #657958;
--color-cactus-700: #516146;
--color-cactus-800: #3c4732;
--color-cactus-900: #293122;
--color-cactus-950: #171d11;
}SCSS
$cactus: #5e7250;
$cactus-rgb: 94, 114, 80;
$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);
}