Nearest named color · #4C2700
#4C2700
Nearest named color: Chocolate Castle
#4C2700 (rgb(76 39 0), hsl(31 100% 15%), oklch(0.316 0.074 60.4)) is closest to the named color Chocolate Castle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4C2700
oklch(0.316 0.074 60.4)
Color conversions
- HEX
- #4c2700
- RGB
- rgb(76 39 0)
- HSL
- hsl(31 100% 15%)
- HWB
- hwb(31 0% 70%)
- OKLCH
- oklch(0.316 0.074 60.4)
- OKLab
- oklab(0.316 0.036 0.064)
- CIE Lab
- lab(20.29 15.68 29.37)
- LCH
- lch(20.29 33.29 61.9)
- CMYK
- cmyk(0% 49% 100% 70%)
Tints · Shades · Tones
Tints
- 5D3A1B
- 6E4E33
- 80624B
- 917763
- A38D7B
- B5A394
- C7B9AE
- DAD0C9
- ECE7E3
Shades
- 412000
- 361A00
- 2C1400
- 220E00
- 180800
- 0F0400
- 060200
- 020100
- 000000
Tones
- 523010
- 57391E
- 5D412B
- 624A37
- 675343
- 6C5C4F
- 71655B
- 766E67
- 7B7773
Color harmonies
Complementary +180°
- 4C2700
Chocolate Castle
- 003553
≈ Night Dive
Analogous -30° +30°
- 4C2700
Chocolate Castle
- 51211A
≈ Torrefacto Roast
- 3E3000
≈ Hidden Passage
Triadic +120° +240°
- 4C2700
Chocolate Castle
- 003B33
≈ Night Turquoise
- 382851
≈ Parachute Purple
Split-complementary +150° +210°
- 4C2700
Chocolate Castle
- 003941
≈ Natural Indigo
- 242E57
≈ Boatswain
Tetradic +90° +180° +270°
- 4C2700
Chocolate Castle
- 0E3C1D
≈ Melancholia
- 003553
≈ Night Dive
- 462243
≈ Opulent Mauve
Contrast & accessibility
Ag
AAAOn white
WCAG 13.14:1 · APCA Lc 99
Ag
FailOn black
WCAG 1.59:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 13.14:1 (AAA) · APCA Lc 99
Contrast pairs
Code snippets
CSS
:root {
--chocolate-castle: #4c2700;
--chocolate-castle-rgb: 76 39 0;
--chocolate-castle-oklch: oklch(0.316 0.074 60.4);
}
.element {
color: var(--chocolate-castle);
background-color: hsl(31 100% 15%);
border-color: oklch(0.316 0.074 60.4);
}Tailwind CSS v4
@theme {
--color-chocolate-castle: #4c2700;
--color-chocolate-castle-50: #fff1e0;
--color-chocolate-castle-100: #fbe3cf;
--color-chocolate-castle-200: #ecceb5;
--color-chocolate-castle-300: #d3b091;
--color-chocolate-castle-400: #bf9572;
--color-chocolate-castle-500: #aa7b53;
--color-chocolate-castle-600: #906847;
--color-chocolate-castle-700: #735338;
--color-chocolate-castle-800: #563c28;
--color-chocolate-castle-900: #3c291b;
--color-chocolate-castle-950: #25170b;
}SCSS
$chocolate-castle: #4c2700;
$chocolate-castle-rgb: 76, 39, 0;
$chocolate-castle-light: mix(#fff, $chocolate-castle, 20%);
$chocolate-castle-dark: mix(#000, $chocolate-castle, 20%);
.element {
color: $chocolate-castle;
box-shadow: 0 0 0 2px rgba($chocolate-castle, 0.35);
}