最接近的命名颜色 · #4D8339
#4D8339
最接近的命名颜色: The Legend of Green
#4D8339(rgb(77 131 57)、hsl(104 39% 37%)、oklch(0.555 0.121 138))最接近命名颜色 The Legend of Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4D8339
oklch(0.555 0.121 138)
颜色转换
- HEX
- #4d8339
- RGB
- rgb(77 131 57)
- HSL
- hsl(104 39% 37%)
- HWB
- hwb(104 22% 49%)
- OKLCH
- oklch(0.555 0.121 138)
- OKLab
- oklab(0.555 -0.09 0.081)
- CIE Lab
- lab(49.7 -29.72 33.54)
- LCH
- lch(49.7 44.82 131.5)
- CMYK
- cmyk(41% 0% 56% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 5E8F4D
- 709B61
- 81A874
- 92B487
- A4C09B
- B6CDAE
- C8D9C2
- DAE6D6
- ECF2EB
深色调
- 427130
- 376028
- 2C4F1F
- 223F17
- 182F10
- 0F2009
- 071204
- 020601
- 000100
灰色调
- 538342
- 58834A
- 5E8351
- 638358
- 68825F
- 6D8266
- 72826D
- 778173
- 7B817A
配色和谐
互补色 +180°
- 4D8339
The Legend of Green
- 905AA0
≈ Wisteria Purple
类似色 -30° +30°
- 4D8339
The Legend of Green
- 7A7700
≈ Mongolian Plateau
- 008766
≈ Spectral Green
三角配色 +120° +240°
- 4D8339
The Legend of Green
- 4473B8
≈ Sinatra
- AE5258
≈ Grenadine
分裂互补色 +150° +210°
- 4D8339
The Legend of Green
- 7066B5
≈ Ultra Violet
- A5537F
≈ Feminism
四角配色 +90° +180° +270°
- 4D8339
The Legend of Green
- 007EA4
≈ Kingfisher Sheen
- 905AA0
≈ Wisteria Purple
- AA5A2C
≈ Autumnal
对比度与无障碍
Ag
AA白底
WCAG 4.54:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--the-legend-of-green: #4d8339;
--the-legend-of-green-rgb: 77 131 57;
--the-legend-of-green-oklch: oklch(0.555 0.121 138);
}
.element {
color: var(--the-legend-of-green);
background-color: hsl(104 39% 37%);
border-color: oklch(0.555 0.121 138);
}Tailwind CSS v4
@theme {
--color-the-legend-of-green: #4d8339;
--color-the-legend-of-green-50: #e4fede;
--color-the-legend-of-green-100: #d3f2cc;
--color-the-legend-of-green-200: #b9e2b1;
--color-the-legend-of-green-300: #96c78c;
--color-the-legend-of-green-400: #7aaf68;
--color-the-legend-of-green-500: #5b9845;
--color-the-legend-of-green-600: #4e813b;
--color-the-legend-of-green-700: #3e672f;
--color-the-legend-of-green-800: #2e4c1f;
--color-the-legend-of-green-900: #1f3514;
--color-the-legend-of-green-950: #0f2006;
}SCSS
$the-legend-of-green: #4d8339;
$the-legend-of-green-rgb: 77, 131, 57;
$the-legend-of-green-light: mix(#fff, $the-legend-of-green, 20%);
$the-legend-of-green-dark: mix(#000, $the-legend-of-green, 20%);
.element {
color: $the-legend-of-green;
box-shadow: 0 0 0 2px rgba($the-legend-of-green, 0.35);
}