Nearest named color · #5A813A
#5A813A
Nearest named color: Shepherd’s Green
#5A813A (rgb(90 129 58), hsl(93 38% 37%), oklch(0.557 0.109 132.8)) is closest to the named color Shepherd’s Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5A813A
oklch(0.557 0.109 132.8)
Color conversions
- HEX
- #5a813a
- RGB
- rgb(90 129 58)
- HSL
- hsl(93 38% 37%)
- HWB
- hwb(93 23% 49%)
- OKLCH
- oklch(0.557 0.109 132.8)
- OKLab
- oklab(0.557 -0.074 0.08)
- CIE Lab
- lab(49.82 -23.96 33.41)
- LCH
- lch(49.82 41.12 125.7)
- CMYK
- cmyk(30% 0% 55% 49%)
Tints · Shades · Tones
Tints
- 698D4E
- 799A61
- 89A675
- 99B288
- AABF9B
- BACCAF
- CBD8C2
- DCE5D6
- EEF2EB
Shades
- 4D6F31
- 415E28
- 354E20
- 293E18
- 1E2E10
- 131F09
- 091204
- 030601
- 000100
Tones
- 5E8142
- 62814A
- 668152
- 6A8159
- 6D8160
- 718166
- 75816D
- 798173
- 7C807A
Color harmonies
Complementary +180°
- 5A813A
Shepherd’s Green
- 8A5FA1
≈ Chive Blossom
Analogous -30° +30°
- 5A813A
Shepherd’s Green
- 807617
≈ Soft Fig
- 228761
≈ Metallic Green
Triadic +120° +240°
- 5A813A
Shepherd’s Green
- 4176B2
≈ Petrel
- AA5662
≈ Grenadine
Split-complementary +150° +210°
- 5A813A
Shepherd’s Green
- 6B6AB2
≈ Mediaeval
- 9F5885
≈ Feminism
Tetradic +90° +180° +270°
- 5A813A
Shepherd’s Green
- 00809F
≈ Best of Both Worlds
- 8A5FA1
≈ Chive Blossom
- A85C3C
≈ Brick-A-Brack
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--shepherd-s-green: #5a813a;
--shepherd-s-green-rgb: 90 129 58;
--shepherd-s-green-oklch: oklch(0.557 0.109 132.8);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(93 38% 37%);
border-color: oklch(0.557 0.109 132.8);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #5a813a;
--color-shepherd-s-green-50: #e8fddd;
--color-shepherd-s-green-100: #d9f1cc;
--color-shepherd-s-green-200: #c1dfb0;
--color-shepherd-s-green-300: #a0c48b;
--color-shepherd-s-green-400: #85ac68;
--color-shepherd-s-green-500: #699545;
--color-shepherd-s-green-600: #597e3c;
--color-shepherd-s-green-700: #47652f;
--color-shepherd-s-green-800: #354a1f;
--color-shepherd-s-green-900: #243315;
--color-shepherd-s-green-950: #131f06;
}SCSS
$shepherd-s-green: #5a813a;
$shepherd-s-green-rgb: 90, 129, 58;
$shepherd-s-green-light: mix(#fff, $shepherd-s-green, 20%);
$shepherd-s-green-dark: mix(#000, $shepherd-s-green, 20%);
.element {
color: $shepherd-s-green;
box-shadow: 0 0 0 2px rgba($shepherd-s-green, 0.35);
}