Màu có tên gần nhất · #548042
#548042
Màu có tên gần nhất: Shepherd’s Green
#548042 (rgb(84 128 66), hsl(103 32% 38%), oklch(0.552 0.103 137.2)) gần nhất với màu có tên Shepherd’s Green. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#548042
oklch(0.552 0.103 137.2)
Chuyển đổi màu
- 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%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 648C55
- 759967
- 85A579
- 96B28C
- A7BE9E
- B8CBB1
- CAD8C4
- DBE5D8
- EDF2EB
Sắc đậm
- 486E38
- 3C5D2F
- 314D25
- 263D1C
- 1B2E14
- 111F0B
- 081205
- 020601
- 000100
Sắc xám
- 598049
- 5D8050
- 628156
- 66815D
- 6B8163
- 6F8169
- 73816F
- 788074
- 7C807A
Hòa sắc
Bổ túc +180°
- 548042
Shepherd’s Green
- 8B5E9A
≈ Wisteria Purple
Tương đồng -30° +30°
- 548042
Shepherd’s Green
- 797623
≈ Crocodile Eye
- 208566
≈ Accent Green Blue
Bộ ba +120° +240°
- 548042
Shepherd’s Green
- 4A73AE
≈ Ramjet
- A6575C
≈ Lingonberry Punch
Bổ túc chia +150° +210°
- 548042
Shepherd’s Green
- 6F68AB
≈ Mediaeval
- 9D587E
≈ Feminism
Bộ bốn +90° +180° +270°
- 548042
Shepherd’s Green
- 117DA1
≈ Turkish Tile
- 8B5E9A
≈ Wisteria Purple
- A35E3A
≈ Desert Soil
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.62:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.54:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
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);
}