Màu có tên gần nhất · #5C311F
#5C311F
Màu có tên gần nhất: Freshly Roasted Coffee
#5C311F (rgb(92 49 31), hsl(18 50% 24%), oklch(0.364 0.069 42.9)) gần nhất với màu có tên Freshly Roasted Coffee. 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.
#5C311F
oklch(0.364 0.069 42.9)
Chuyển đổi màu
- HEX
- #5c311f
- RGB
- rgb(92 49 31)
- HSL
- hsl(18 50% 24%)
- HWB
- hwb(18 12% 64%)
- OKLCH
- oklch(0.364 0.069 42.9)
- OKLab
- oklab(0.364 0.05 0.047)
- CIE Lab
- lab(25.76 18.63 20.3)
- LCH
- lch(25.76 27.55 47.5)
- CMYK
- cmyk(0% 47% 66% 64%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6C4433
- 7C5748
- 8C6A5D
- 9C7E72
- AC9388
- BDA79F
- CDBDB6
- DED2CE
- EEE9E6
Sắc đậm
- 4F2919
- 422214
- 361A0F
- 2A130A
- 1F0C06
- 140603
- 0A0301
- 030100
- 000000
Sắc xám
- 603929
- 644132
- 68493C
- 6C5045
- 70584F
- 736058
- 776862
- 7A706C
- 7D7876
Hòa sắc
Bổ túc +180°
- 5C311F
Freshly Roasted Coffee
- 004658
≈ Crab Nebula
Tương đồng -30° +30°
- 5C311F
Freshly Roasted Coffee
- 5D2E34
≈ Dubonnet
- 54380D
≈ Pineapple
Bộ ba +120° +240°
- 5C311F
Freshly Roasted Coffee
- 114934
≈ County Green
- 393961
≈ Rhynchites Nitens
Bổ túc chia +150° +210°
- 5C311F
Freshly Roasted Coffee
- 004847
≈ Cyprus
- 224061
≈ Alpine Race
Bộ bốn +90° +180° +270°
- 5C311F
Freshly Roasted Coffee
- 30461E
≈ Forestry
- 004658
≈ Crab Nebula
- 4B3358
≈ Blackberry Cordial
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 10.97:1 · APCA Lc 95
Ag
FailTrên nền đen
WCAG 1.91:1 · APCA Lc 8
Màu chữ tốt nhất: #FFFFFF
WCAG 10.97:1 (AAA) · APCA Lc 95
Contrast pairs
Đoạn mã
CSS
:root {
--freshly-roasted-coffee: #5c311f;
--freshly-roasted-coffee-rgb: 92 49 31;
--freshly-roasted-coffee-oklch: oklch(0.364 0.069 42.9);
}
.element {
color: var(--freshly-roasted-coffee);
background-color: hsl(18 50% 24%);
border-color: oklch(0.364 0.069 42.9);
}Tailwind CSS v4
@theme {
--color-freshly-roasted-coffee: #5c311f;
--color-freshly-roasted-coffee-50: #fff0e5;
--color-freshly-roasted-coffee-100: #fde1d5;
--color-freshly-roasted-coffee-200: #efccbc;
--color-freshly-roasted-coffee-300: #d7ad9b;
--color-freshly-roasted-coffee-400: #c2927e;
--color-freshly-roasted-coffee-500: #ad7761;
--color-freshly-roasted-coffee-600: #936553;
--color-freshly-roasted-coffee-700: #765142;
--color-freshly-roasted-coffee-800: #573a30;
--color-freshly-roasted-coffee-900: #3d2820;
--color-freshly-roasted-coffee-950: #261610;
}SCSS
$freshly-roasted-coffee: #5c311f;
$freshly-roasted-coffee-rgb: 92, 49, 31;
$freshly-roasted-coffee-light: mix(#fff, $freshly-roasted-coffee, 20%);
$freshly-roasted-coffee-dark: mix(#000, $freshly-roasted-coffee, 20%);
.element {
color: $freshly-roasted-coffee;
box-shadow: 0 0 0 2px rgba($freshly-roasted-coffee, 0.35);
}