Nearest named color · #AF9952
#AF9952
Nearest named color: Kathmandu
#AF9952 (rgb(175 153 82), hsl(46 37% 50%), oklch(0.687 0.095 92.6)) is closest to the named color Kathmandu. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AF9952
oklch(0.687 0.095 92.6)
Color conversions
- HEX
- #af9952
- RGB
- rgb(175 153 82)
- HSL
- hsl(46 37% 50%)
- HWB
- hwb(46 32% 31%)
- OKLCH
- oklch(0.687 0.095 92.6)
- OKLab
- oklab(0.687 -0.004 0.095)
- CIE Lab
- lab(64.07 1.65 40.02)
- LCH
- lch(64.07 40.06 87.6)
- CMYK
- cmyk(0% 13% 53% 31%)
Tints · Shades · Tones
Tints
- B7A364
- BFAD76
- C6B787
- CEC198
- D6CBA9
- DED6BA
- E6E0CB
- EFEADC
- F7F5EE
Shades
- 988446
- 81703B
- 6B5D2F
- 564A25
- 41381A
- 2E2711
- 1C1708
- 0B0802
- 010100
Tones
- AA9758
- A5945E
- A19263
- 9C8F68
- 978D6D
- 928A71
- 8E8875
- 898579
- 85837C
Color harmonies
Complementary +180°
- AF9952
Kathmandu
- 8697D6
≈ Mystic Iris
Analogous -30° +30°
- AF9952
Kathmandu
- C48D5B
≈ Eastlake Gold
- 90A461
≈ Zesty Apple
Triadic +120° +240°
- AF9952
Kathmandu
- 48AABD
≈ Verditer Blue
- BE84B4
≈ Violet Tulle
Split-complementary +150° +210°
- AF9952
Kathmandu
- 63A1D0
≈ Picton Blue
- A68CCB
≈ Middy’s Purple
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.50:1 · APCA Lc 48
Best text color: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--kathmandu: #af9952;
--kathmandu-rgb: 175 153 82;
--kathmandu-oklch: oklch(0.687 0.095 92.6);
}
.element {
color: var(--kathmandu);
background-color: hsl(46 37% 50%);
border-color: oklch(0.687 0.095 92.6);
}Tailwind CSS v4
@theme {
--color-kathmandu: #af9952;
--color-kathmandu-50: #fef5d7;
--color-kathmandu-100: #f2e8c5;
--color-kathmandu-200: #e1d4a7;
--color-kathmandu-300: #c7b77f;
--color-kathmandu-400: #b29d5a;
--color-kathmandu-500: #9c8432;
--color-kathmandu-600: #84702c;
--color-kathmandu-700: #6a5923;
--color-kathmandu-800: #4f4117;
--color-kathmandu-900: #372d0f;
--color-kathmandu-950: #221a03;
}SCSS
$kathmandu: #af9952;
$kathmandu-rgb: 175, 153, 82;
$kathmandu-light: mix(#fff, $kathmandu, 20%);
$kathmandu-dark: mix(#000, $kathmandu, 20%);
.element {
color: $kathmandu;
box-shadow: 0 0 0 2px rgba($kathmandu, 0.35);
}