Màu có tên gần nhất · #54803D
#54803D
Màu có tên gần nhất: Shepherd’s Green
#54803D (rgb(84 128 61), hsl(99 35% 37%), oklch(0.551 0.108 135.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.
#54803D
oklch(0.551 0.108 135.9)
Chuyển đổi màu
- HEX
- #54803d
- RGB
- rgb(84 128 61)
- HSL
- hsl(99 35% 37%)
- HWB
- hwb(99 24% 50%)
- OKLCH
- oklch(0.551 0.108 135.9)
- OKLab
- oklab(0.551 -0.078 0.075)
- CIE Lab
- lab(49.17 -25.52 31.01)
- LCH
- lch(49.17 40.16 129.5)
- CMYK
- cmyk(34% 0% 52% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 648C50
- 759963
- 85A576
- 96B289
- A7BE9C
- B8CBB0
- C9D8C3
- DBE5D7
- EDF2EB
Sắc đậm
- 486E34
- 3C5D2B
- 314D22
- 263D1A
- 1B2E12
- 111F0A
- 081204
- 020601
- 000100
Sắc xám
- 598045
- 5D804C
- 628153
- 66815A
- 6B8161
- 6F8167
- 73816E
- 788074
- 7C807A
Hòa sắc
Bổ túc +180°
- 54803D
Shepherd’s Green
- 8A5D9C
≈ Wisteria Purple
Tương đồng -30° +30°
- 54803D
Shepherd’s Green
- 7B7519
≈ Crocodile Eye
- 188663
≈ Spectral Green
Bộ ba +120° +240°
- 54803D
Shepherd’s Green
- 4573B0
≈ Athens
- A8555C
≈ Grenadine
Bổ túc chia +150° +210°
- 54803D
Shepherd’s Green
- 6D67AE
≈ Mediaeval
- 9E567F
≈ Feminism
Bộ bốn +90° +180° +270°
- 54803D
Shepherd’s Green
- 007EA1
≈ Kingfisher Sheen
- 8A5D9C
≈ Wisteria Purple
- A55C38
≈ Falling Leaves
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.63:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.53:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--shepherd-s-green: #54803d;
--shepherd-s-green-rgb: 84 128 61;
--shepherd-s-green-oklch: oklch(0.551 0.108 135.9);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(99 35% 37%);
border-color: oklch(0.551 0.108 135.9);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #54803d;
--color-shepherd-s-green-50: #e7fddf;
--color-shepherd-s-green-100: #d7f1ce;
--color-shepherd-s-green-200: #bee0b3;
--color-shepherd-s-green-300: #9cc58f;
--color-shepherd-s-green-400: #81ad6c;
--color-shepherd-s-green-500: #64964b;
--color-shepherd-s-green-600: #557f40;
--color-shepherd-s-green-700: #446633;
--color-shepherd-s-green-800: #324a22;
--color-shepherd-s-green-900: #223416;
--color-shepherd-s-green-950: #111f08;
}SCSS
$shepherd-s-green: #54803d;
$shepherd-s-green-rgb: 84, 128, 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);
}