Màu có tên gần nhất · #54823D
#54823D
Màu có tên gần nhất: Shepherd’s Green
#54823D (rgb(84 130 61), hsl(100 36% 37%), oklch(0.557 0.111 136.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.
#54823D
oklch(0.557 0.111 136.2)
Chuyển đổi màu
- HEX
- #54823d
- RGB
- rgb(84 130 61)
- HSL
- hsl(100 36% 37%)
- HWB
- hwb(100 24% 49%)
- OKLCH
- oklch(0.557 0.111 136.2)
- OKLab
- oklab(0.557 -0.08 0.077)
- CIE Lab
- lab(49.81 -26.42 31.77)
- LCH
- lch(49.81 41.32 129.7)
- CMYK
- cmyk(35% 0% 53% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 648E51
- 759A64
- 85A776
- 96B389
- A7C09C
- B8CCB0
- CAD9C3
- DBE5D7
- EDF2EB
Sắc đậm
- 487034
- 3C5F2B
- 314E22
- 263E1A
- 1B2F12
- 11200A
- 081204
- 020601
- 000100
Sắc xám
- 598245
- 5E824C
- 628253
- 67825A
- 6B8261
- 6F8167
- 74816E
- 788174
- 7C807A
Hòa sắc
Bổ túc +180°
- 54823D
Shepherd’s Green
- 8D5E9F
≈ Chive Blossom
Tương đồng -30° +30°
- 54823D
Shepherd’s Green
- 7C7716
≈ Tool Green
- 118864
≈ Spectral Green
Bộ ba +120° +240°
- 54823D
Shepherd’s Green
- 4675B3
≈ Petrel
- AB565D
≈ Grenadine
Bổ túc chia +150° +210°
- 54823D
Shepherd’s Green
- 6F68B1
≈ Mediaeval
- A15781
≈ Feminism
Bộ bốn +90° +180° +270°
- 54823D
Shepherd’s Green
- 007FA3
≈ Kingfisher Sheen
- 8D5E9F
≈ Chive Blossom
- A85C37
≈ 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: #54823d;
--shepherd-s-green-rgb: 84 130 61;
--shepherd-s-green-oklch: oklch(0.557 0.111 136.2);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(100 36% 37%);
border-color: oklch(0.557 0.111 136.2);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #54823d;
--color-shepherd-s-green-50: #e6fddf;
--color-shepherd-s-green-100: #d6f1ce;
--color-shepherd-s-green-200: #bde0b2;
--color-shepherd-s-green-300: #9bc58e;
--color-shepherd-s-green-400: #80ae6b;
--color-shepherd-s-green-500: #639749;
--color-shepherd-s-green-600: #547f3f;
--color-shepherd-s-green-700: #436632;
--color-shepherd-s-green-800: #324b21;
--color-shepherd-s-green-900: #223416;
--color-shepherd-s-green-950: #111f07;
}SCSS
$shepherd-s-green: #54823d;
$shepherd-s-green-rgb: 84, 130, 61;
$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);
}