Màu có tên gần nhất · #538242
#538242
Màu có tên gần nhất: Shepherd’s Green
#538242 (rgb(83 130 66), hsl(104 33% 38%), oklch(0.557 0.107 137.9)) 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.
#538242
oklch(0.557 0.107 137.9)
Chuyển đổi màu
- HEX
- #538242
- RGB
- rgb(83 130 66)
- HSL
- hsl(104 33% 38%)
- HWB
- hwb(104 26% 49%)
- OKLCH
- oklch(0.557 0.107 137.9)
- OKLab
- oklab(0.557 -0.079 0.071)
- CIE Lab
- lab(49.81 -26.3 29.16)
- LCH
- lch(49.81 39.27 132)
- CMYK
- cmyk(36% 0% 49% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 648E55
- 749A67
- 85A779
- 96B38C
- A7BF9E
- B8CCB1
- C9D9C4
- DBE5D8
- EDF2EB
Sắc đậm
- 477038
- 3B5F2F
- 304E25
- 253E1C
- 1B2F14
- 11200B
- 081205
- 020601
- 000100
Sắc xám
- 588249
- 5D8250
- 618256
- 66825D
- 6B8263
- 6F8169
- 73816F
- 788175
- 7C807A
Hòa sắc
Bổ túc +180°
- 538242
Shepherd’s Green
- 8D5E9C
≈ Wisteria Purple
Tương đồng -30° +30°
- 538242
Shepherd’s Green
- 7A7820
≈ Crocodile Eye
- 188767
≈ Celtic Queen
Bộ ba +120° +240°
- 538242
Shepherd’s Green
- 4A74B1
≈ Ramjet
- A9575C
≈ Lingonberry Punch
Bổ túc chia +150° +210°
- 538242
Shepherd’s Green
- 7168AE
≈ Clear Mauve
- A0587F
≈ Feminism
Bộ bốn +90° +180° +270°
- 538242
Shepherd’s Green
- 097FA4
≈ Kingfisher Sheen
- 8D5E9C
≈ Wisteria Purple
- A55E38
≈ Earthen Jug
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.52:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.63:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--shepherd-s-green: #538242;
--shepherd-s-green-rgb: 83 130 66;
--shepherd-s-green-oklch: oklch(0.557 0.107 137.9);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(104 33% 38%);
border-color: oklch(0.557 0.107 137.9);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #538242;
--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: #7fae6f;
--color-shepherd-s-green-500: #61974e;
--color-shepherd-s-green-600: #537f43;
--color-shepherd-s-green-700: #426635;
--color-shepherd-s-green-800: #314b24;
--color-shepherd-s-green-900: #213418;
--color-shepherd-s-green-950: #101f09;
}SCSS
$shepherd-s-green: #538242;
$shepherd-s-green-rgb: 83, 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);
}