Nearest named color · #548242
#548242
Nearest named color: Shepherd’s Green
#548242 (rgb(84 130 66), hsl(103 33% 38%), oklch(0.557 0.106 137.5)) is closest to the named color Shepherd’s Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#548242
oklch(0.557 0.106 137.5)
Color conversions
- HEX
- #548242
- RGB
- rgb(84 130 66)
- HSL
- hsl(103 33% 38%)
- HWB
- hwb(103 26% 49%)
- OKLCH
- oklch(0.557 0.106 137.5)
- OKLab
- oklab(0.557 -0.078 0.072)
- CIE Lab
- lab(49.86 -25.93 29.25)
- LCH
- lch(49.86 39.09 131.6)
- CMYK
- cmyk(35% 0% 49% 49%)
Tints · Shades · Tones
Tints
- 648E55
- 759A67
- 85A779
- 96B38C
- A7BF9E
- B8CCB1
- CAD9C4
- DBE5D8
- EDF2EB
Shades
- 487038
- 3C5F2F
- 314E25
- 263E1C
- 1B2F14
- 11200B
- 081205
- 020601
- 000100
Tones
- 598249
- 5E8250
- 628256
- 67825D
- 6B8263
- 6F8169
- 74816F
- 788175
- 7C807A
Color harmonies
Complementary +180°
- 548242
Shepherd’s Green
- 8D5F9C
≈ Aster Violetta
Analogous -30° +30°
- 548242
Shepherd’s Green
- 7B7821
≈ Crocodile Eye
- 1B8767
≈ Celtic Queen
Triadic +120° +240°
- 548242
Shepherd’s Green
- 4A74B1
≈ Ramjet
- A9585C
≈ Lingonberry Punch
Split-complementary +150° +210°
- 548242
Shepherd’s Green
- 7069AE
≈ Clear Mauve
- A0587F
≈ Feminism
Tetradic +90° +180° +270°
- 548242
Shepherd’s Green
- 0A7FA4
≈ Kingfisher Sheen
- 8D5F9C
≈ Aster Violetta
- A55F39
≈ Earthen Jug
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 30
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--shepherd-s-green: #548242;
--shepherd-s-green-rgb: 84 130 66;
--shepherd-s-green-oklch: oklch(0.557 0.106 137.5);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(103 33% 38%);
border-color: oklch(0.557 0.106 137.5);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #548242;
--color-shepherd-s-green-50: #e6fde0;
--color-shepherd-s-green-100: #d6f1d0;
--color-shepherd-s-green-200: #bde0b5;
--color-shepherd-s-green-300: #9bc591;
--color-shepherd-s-green-400: #80ad6f;
--color-shepherd-s-green-500: #62964e;
--color-shepherd-s-green-600: #547f43;
--color-shepherd-s-green-700: #436635;
--color-shepherd-s-green-800: #314b24;
--color-shepherd-s-green-900: #223418;
--color-shepherd-s-green-950: #111f09;
}SCSS
$shepherd-s-green: #548242;
$shepherd-s-green-rgb: 84, 130, 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);
}