Màu có tên gần nhất · #51833E
#51833E
Màu có tên gần nhất: Shepherd’s Green
#51833E (rgb(81 131 62), hsl(103 36% 38%), oklch(0.558 0.113 137.7)) 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.
#51833E
oklch(0.558 0.113 137.7)
Chuyển đổi màu
- HEX
- #51833e
- RGB
- rgb(81 131 62)
- HSL
- hsl(103 36% 38%)
- HWB
- hwb(103 24% 49%)
- OKLCH
- oklch(0.558 0.113 137.7)
- OKLab
- oklab(0.558 -0.084 0.076)
- CIE Lab
- lab(49.97 -27.85 31.4)
- LCH
- lch(49.97 41.97 131.6)
- CMYK
- cmyk(38% 0% 53% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 628F51
- 739B64
- 84A777
- 95B48A
- A6C09D
- B7CDB0
- C9D9C3
- DBE6D7
- EDF2EB
Sắc đậm
- 457135
- 3A602B
- 2F4F23
- 243F1A
- 1A2F12
- 10200A
- 071204
- 020601
- 000100
Sắc xám
- 568346
- 5B834D
- 608354
- 65825B
- 6A8261
- 6E8268
- 73826E
- 778174
- 7C817A
Hòa sắc
Bổ túc +180°
- 51833E
Shepherd’s Green
- 8F5D9F
≈ Aster Violetta
Tương đồng -30° +30°
- 51833E
Shepherd’s Green
- 7B7814
≈ Tool Green
- 008867
≈ Celtic Queen
Bộ ba +120° +240°
- 51833E
Shepherd’s Green
- 4774B5
≈ Sinatra
- AC555B
≈ Grenadine
Bổ túc chia +150° +210°
- 51833E
Shepherd’s Green
- 7168B2
≈ Clear Mauve
- A35680
≈ Feminism
Bộ bốn +90° +180° +270°
- 51833E
Shepherd’s Green
- 007FA5
≈ Kingfisher Sheen
- 8F5D9F
≈ Aster Violetta
- A85D33
≈ Beef Hotpot
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.50:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.66:1 · APCA Lc 31
Màu chữ tốt nhất: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Đoạn mã
CSS
:root {
--shepherd-s-green: #51833e;
--shepherd-s-green-rgb: 81 131 62;
--shepherd-s-green-oklch: oklch(0.558 0.113 137.7);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(103 36% 38%);
border-color: oklch(0.558 0.113 137.7);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #51833e;
--color-shepherd-s-green-50: #e5fedf;
--color-shepherd-s-green-100: #d5f2ce;
--color-shepherd-s-green-200: #bbe1b3;
--color-shepherd-s-green-300: #99c68e;
--color-shepherd-s-green-400: #7dae6b;
--color-shepherd-s-green-500: #5f974a;
--color-shepherd-s-green-600: #51803f;
--color-shepherd-s-green-700: #406732;
--color-shepherd-s-green-800: #304b21;
--color-shepherd-s-green-900: #203416;
--color-shepherd-s-green-950: #101f07;
}SCSS
$shepherd-s-green: #51833e;
$shepherd-s-green-rgb: 81, 131, 62;
$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);
}