Nearest named color · #548042
#548042
Nearest named color: Shepherd’s Green
#548042 (rgb(84 128 66), hsl(103 32% 38%), oklch(0.552 0.103 137.2)) is closest to the named color Shepherd’s Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#548042
oklch(0.552 0.103 137.2)
Color conversions
- HEX
- #548042
- RGB
- rgb(84 128 66)
- HSL
- hsl(103 32% 38%)
- HWB
- hwb(103 26% 50%)
- OKLCH
- oklch(0.552 0.103 137.2)
- OKLab
- oklab(0.552 -0.076 0.07)
- CIE Lab
- lab(49.23 -25.03 28.47)
- LCH
- lch(49.23 37.91 131.3)
- CMYK
- cmyk(34% 0% 48% 50%)
Tints · Shades · Tones
Tints
- 648C55
- 759967
- 85A579
- 96B28C
- A7BE9E
- B8CBB1
- CAD8C4
- DBE5D8
- EDF2EB
Shades
- 486E38
- 3C5D2F
- 314D25
- 263D1C
- 1B2E14
- 111F0B
- 081205
- 020601
- 000100
Tones
- 598049
- 5D8050
- 628156
- 66815D
- 6B8163
- 6F8169
- 73816F
- 788074
- 7C807A
Color harmonies
Complementary +180°
- 548042
Shepherd’s Green
- 8B5E9A
≈ Wisteria Purple
Analogous -30° +30°
- 548042
Shepherd’s Green
- 797623
≈ Crocodile Eye
- 208566
≈ Accent Green Blue
Triadic +120° +240°
- 548042
Shepherd’s Green
- 4A73AE
≈ Ramjet
- A6575C
≈ Lingonberry Punch
Split-complementary +150° +210°
- 548042
Shepherd’s Green
- 6F68AB
≈ Mediaeval
- 9D587E
≈ Feminism
Tetradic +90° +180° +270°
- 548042
Shepherd’s Green
- 117DA1
≈ Turkish Tile
- 8B5E9A
≈ Wisteria Purple
- A35E3A
≈ Desert Soil
Contrast & accessibility
Ag
AAOn white
WCAG 4.62:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.54:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--shepherd-s-green: #548042;
--shepherd-s-green-rgb: 84 128 66;
--shepherd-s-green-oklch: oklch(0.552 0.103 137.2);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(103 32% 38%);
border-color: oklch(0.552 0.103 137.2);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #548042;
--color-shepherd-s-green-50: #e7fde1;
--color-shepherd-s-green-100: #d7f1d0;
--color-shepherd-s-green-200: #bee0b6;
--color-shepherd-s-green-300: #9dc592;
--color-shepherd-s-green-400: #81ad70;
--color-shepherd-s-green-500: #649650;
--color-shepherd-s-green-600: #557f44;
--color-shepherd-s-green-700: #446636;
--color-shepherd-s-green-800: #324a25;
--color-shepherd-s-green-900: #223418;
--color-shepherd-s-green-950: #111f09;
}SCSS
$shepherd-s-green: #548042;
$shepherd-s-green-rgb: 84, 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);
}