Nearest named color · #538042
#538042
Nearest named color: Shepherd’s Green
#538042 (rgb(83 128 66), hsl(104 32% 38%), oklch(0.552 0.103 137.7)) is closest to the named color Shepherd’s Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#538042
oklch(0.552 0.103 137.7)
Color conversions
- HEX
- #538042
- RGB
- rgb(83 128 66)
- HSL
- hsl(104 32% 38%)
- HWB
- hwb(104 26% 50%)
- OKLCH
- oklch(0.552 0.103 137.7)
- OKLab
- oklab(0.552 -0.076 0.07)
- CIE Lab
- lab(49.17 -25.4 28.39)
- LCH
- lch(49.17 38.09 131.8)
- CMYK
- cmyk(35% 0% 48% 50%)
Tints · Shades · Tones
Tints
- 638C55
- 749967
- 85A579
- 95B28C
- A7BE9E
- B8CBB1
- C9D8C4
- DBE5D8
- EDF2EB
Shades
- 476E38
- 3B5D2F
- 304D25
- 253D1C
- 1B2E14
- 111F0B
- 081205
- 020601
- 000100
Tones
- 588049
- 5D8050
- 618156
- 66815D
- 6A8163
- 6F8169
- 73816F
- 788074
- 7C807A
Color harmonies
Complementary +180°
- 538042
Shepherd’s Green
- 8B5E99
≈ Wisteria Purple
Analogous -30° +30°
- 538042
Shepherd’s Green
- 787622
≈ Crocodile Eye
- 1D8566
≈ Accent Green Blue
Triadic +120° +240°
- 538042
Shepherd’s Green
- 4A73AE
≈ Ramjet
- A6575B
≈ Lingonberry Punch
Split-complementary +150° +210°
- 538042
Shepherd’s Green
- 6F67AB
≈ Mediaeval
- 9D577D
≈ Feminism
Tetradic +90° +180° +270°
- 538042
Shepherd’s Green
- 107DA1
≈ Turkish Tile
- 8B5E99
≈ Wisteria Purple
- A25E39
≈ Desert Soil
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.53:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--shepherd-s-green: #538042;
--shepherd-s-green-rgb: 83 128 66;
--shepherd-s-green-oklch: oklch(0.552 0.103 137.7);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(104 32% 38%);
border-color: oklch(0.552 0.103 137.7);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #538042;
--color-shepherd-s-green-50: #e6fde1;
--color-shepherd-s-green-100: #d7f1d0;
--color-shepherd-s-green-200: #bee0b6;
--color-shepherd-s-green-300: #9cc592;
--color-shepherd-s-green-400: #80ad70;
--color-shepherd-s-green-500: #639650;
--color-shepherd-s-green-600: #547f44;
--color-shepherd-s-green-700: #436636;
--color-shepherd-s-green-800: #324a25;
--color-shepherd-s-green-900: #223419;
--color-shepherd-s-green-950: #111f09;
}SCSS
$shepherd-s-green: #538042;
$shepherd-s-green-rgb: 83, 128, 66;
$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);
}