Nearest named color · #508339
#508339
Nearest named color: Shepherd’s Green
#508339 (rgb(80 131 57), hsl(101 39% 37%), oklch(0.556 0.119 137)) is closest to the named color Shepherd’s Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#508339
oklch(0.556 0.119 137)
Color conversions
- HEX
- #508339
- RGB
- rgb(80 131 57)
- HSL
- hsl(101 39% 37%)
- HWB
- hwb(101 22% 49%)
- OKLCH
- oklch(0.556 0.119 137)
- OKLab
- oklab(0.556 -0.087 0.081)
- CIE Lab
- lab(49.86 -28.67 33.78)
- LCH
- lch(49.86 44.3 130.3)
- CMYK
- cmyk(39% 0% 56% 49%)
Tints · Shades · Tones
Tints
- 618F4D
- 729B61
- 83A874
- 94B487
- A5C09B
- B7CDAE
- C9D9C2
- DBE6D6
- EDF2EB
Shades
- 447130
- 396028
- 2E4F1F
- 243F17
- 1A2F10
- 102009
- 071204
- 020601
- 000100
Tones
- 558342
- 5B834A
- 608351
- 658358
- 69825F
- 6E8266
- 73826D
- 778173
- 7C817A
Color harmonies
Complementary +180°
- 508339
Shepherd’s Green
- 8F5BA1
≈ Wisteria Purple
Analogous -30° +30°
- 508339
Shepherd’s Green
- 7C7701
≈ Tool Green
- 008865
≈ Spectral Green
Triadic +120° +240°
- 508339
Shepherd’s Green
- 4374B8
≈ Sinatra
- AE535A
≈ Grenadine
Split-complementary +150° +210°
- 508339
Shepherd’s Green
- 6F67B5
≈ Ultra Violet
- A45481
≈ Purple Zergling
Tetradic +90° +180° +270°
- 508339
Shepherd’s Green
- 007FA4
≈ Kingfisher Sheen
- 8F5BA1
≈ Wisteria Purple
- AB5B30
≈ Monument Valley
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: #508339;
--shepherd-s-green-rgb: 80 131 57;
--shepherd-s-green-oklch: oklch(0.556 0.119 137);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(101 39% 37%);
border-color: oklch(0.556 0.119 137);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #508339;
--color-shepherd-s-green-50: #e4fedd;
--color-shepherd-s-green-100: #d4f2cc;
--color-shepherd-s-green-200: #bbe1b0;
--color-shepherd-s-green-300: #98c68b;
--color-shepherd-s-green-400: #7caf67;
--color-shepherd-s-green-500: #5e9844;
--color-shepherd-s-green-600: #50803b;
--color-shepherd-s-green-700: #40672f;
--color-shepherd-s-green-800: #304b1f;
--color-shepherd-s-green-900: #203414;
--color-shepherd-s-green-950: #102006;
}SCSS
$shepherd-s-green: #508339;
$shepherd-s-green-rgb: 80, 131, 57;
$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);
}