Cor nomeada mais próxima · #5A7F40
#5A7F40
Cor nomeada mais próxima: Shepherd’s Green
#5A7F40 (rgb(90 127 64), hsl(95 33% 37%), oklch(0.553 0.1 133.7)) é mais próxima da cor nomeada Shepherd’s Green. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#5A7F40
oklch(0.553 0.1 133.7)
Conversões de cor
- HEX
- #5a7f40
- RGB
- rgb(90 127 64)
- HSL
- hsl(95 33% 37%)
- HWB
- hwb(95 25% 50%)
- OKLCH
- oklch(0.553 0.1 133.7)
- OKLab
- oklab(0.553 -0.069 0.072)
- CIE Lab
- lab(49.25 -22.5 29.66)
- LCH
- lch(49.25 37.23 127.2)
- CMYK
- cmyk(29% 0% 50% 50%)
Tons claros · Sombras · Tons
Tons claros
- 698B53
- 799865
- 89A478
- 99B18B
- AABE9D
- BACBB1
- CBD8C4
- DCE5D7
- EDF2EB
Sombras
- 4D6E36
- 415D2D
- 354C24
- 293C1B
- 1E2D13
- 131F0B
- 091105
- 030601
- 000100
Tons
- 5E7F47
- 62804E
- 668055
- 6A805C
- 6D8062
- 718068
- 75806E
- 798074
- 7C807A
Harmonias de cor
Complementar +180°
- 5A7F40
Shepherd’s Green
- 87609C
≈ Wisteria Purple
Análoga -30° +30°
- 5A7F40
Shepherd’s Green
- 7D7525
≈ Faience Green
- 2C8562
≈ Chrysocolla Green
Tríade +120° +240°
- 5A7F40
Shepherd’s Green
- 4775AC
≈ Sail On
- A45861
≈ Beef Jerky
Complementar dividida +150° +210°
- 5A7F40
Shepherd’s Green
- 6B6AAB
≈ Mediaeval
- 9B5981
≈ Feminism
Tétrade +90° +180° +270°
- 5A7F40
Shepherd’s Green
- 107E9D
≈ Deep Universe
- 87609C
≈ Wisteria Purple
- A35E40
≈ Mandalay Road
Contraste e acessibilidade
Ag
AASobre branco
WCAG 4.62:1 · APCA Lc 72
Ag
AASobre preto
WCAG 4.54:1 · APCA Lc 30
Melhor cor de texto: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Trechos de código
CSS
:root {
--shepherd-s-green: #5a7f40;
--shepherd-s-green-rgb: 90 127 64;
--shepherd-s-green-oklch: oklch(0.553 0.1 133.7);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(95 33% 37%);
border-color: oklch(0.553 0.1 133.7);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #5a7f40;
--color-shepherd-s-green-50: #e9fce0;
--color-shepherd-s-green-100: #d9f0cf;
--color-shepherd-s-green-200: #c2dfb4;
--color-shepherd-s-green-300: #a1c490;
--color-shepherd-s-green-400: #86ac6e;
--color-shepherd-s-green-500: #6b944d;
--color-shepherd-s-green-600: #5a7e42;
--color-shepherd-s-green-700: #486535;
--color-shepherd-s-green-800: #354924;
--color-shepherd-s-green-900: #243318;
--color-shepherd-s-green-950: #131f09;
}SCSS
$shepherd-s-green: #5a7f40;
$shepherd-s-green-rgb: 90, 127, 64;
$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);
}