Màu có tên gần nhất · #587F42
#587F42
Màu có tên gần nhất: Shepherd’s Green
#587F42 (rgb(88 127 66), hsl(98 32% 38%), oklch(0.552 0.099 135.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.
#587F42
oklch(0.552 0.099 135.2)
Chuyển đổi màu
- HEX
- #587f42
- RGB
- rgb(88 127 66)
- HSL
- hsl(98 32% 38%)
- HWB
- hwb(98 26% 50%)
- OKLCH
- oklch(0.552 0.099 135.2)
- OKLab
- oklab(0.552 -0.07 0.07)
- CIE Lab
- lab(49.15 -23.07 28.45)
- LCH
- lch(49.15 36.63 129)
- CMYK
- cmyk(31% 0% 48% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 688B55
- 789867
- 88A479
- 98B18C
- A9BE9E
- BACBB1
- CBD8C4
- DCE5D8
- EDF2EB
Sắc đậm
- 4B6E38
- 3F5D2F
- 334C25
- 283C1C
- 1D2D14
- 121F0B
- 091105
- 030601
- 000100
Sắc xám
- 5C7F49
- 608050
- 658056
- 69805D
- 6D8063
- 718069
- 74806F
- 788074
- 7C807A
Hòa sắc
Bổ túc +180°
- 587F42
Shepherd’s Green
- 88609A
≈ Wisteria Purple
Tương đồng -30° +30°
- 587F42
Shepherd’s Green
- 7B7527
≈ Wood Garlic
- 2A8464
≈ Accent Green Blue
Bộ ba +120° +240°
- 587F42
Shepherd’s Green
- 4974AB
≈ Song of the Sea
- A4585F
≈ Lingonberry Punch
Bổ túc chia +150° +210°
- 587F42
Shepherd’s Green
- 6D69AA
≈ Mediaeval
- 9B597F
≈ Feminism
Bộ bốn +90° +180° +270°
- 587F42
Shepherd’s Green
- 177E9E
≈ Turkish Tile
- 88609A
≈ Wisteria Purple
- A15E3F
≈ Desert Soil
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.52: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: #587f42;
--shepherd-s-green-rgb: 88 127 66;
--shepherd-s-green-oklch: oklch(0.552 0.099 135.2);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(98 32% 38%);
border-color: oklch(0.552 0.099 135.2);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #587f42;
--color-shepherd-s-green-50: #e8fce1;
--color-shepherd-s-green-100: #d9f0d0;
--color-shepherd-s-green-200: #c1dfb5;
--color-shepherd-s-green-300: #a0c492;
--color-shepherd-s-green-400: #85ac70;
--color-shepherd-s-green-500: #699550;
--color-shepherd-s-green-600: #597e44;
--color-shepherd-s-green-700: #476536;
--color-shepherd-s-green-800: #344a25;
--color-shepherd-s-green-900: #243319;
--color-shepherd-s-green-950: #131f09;
}SCSS
$shepherd-s-green: #587f42;
$shepherd-s-green-rgb: 88, 127, 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);
}