Nearest named color · #3B836C
#3B836C
Nearest named color: Elf
#3B836C (rgb(59 131 108), hsl(161 38% 37%), oklch(0.557 0.081 169.8)) is closest to the named color Elf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#3B836C
oklch(0.557 0.081 169.8)
Color conversions
- HEX
- #3b836c
- RGB
- rgb(59 131 108)
- HSL
- hsl(161 38% 37%)
- HWB
- hwb(161 23% 49%)
- OKLCH
- oklch(0.557 0.081 169.8)
- OKLab
- oklab(0.557 -0.08 0.014)
- CIE Lab
- lab(49.68 -28.09 5.3)
- LCH
- lch(49.68 28.58 169.3)
- CMYK
- cmyk(55% 0% 18% 49%)
Tints · Shades · Tones
Tints
- 508F7A
- 649B88
- 78A796
- 8BB3A4
- 9EC0B3
- B1CCC2
- C4D9D1
- D8E5E0
- EBF2EF
Shades
- 32715D
- 29604E
- 214F40
- 193F32
- 112F25
- 092019
- 04120D
- 010604
- 000100
Tones
- 44836E
- 4D8370
- 548272
- 5B8274
- 628276
- 698278
- 6F817A
- 75817C
- 7A807E
Color harmonies
Complementary +180°
- 3B836C
Elf
- 985F7A
≈ Glitz and Glamour
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
- 3B836C
Elf
- 896492
≈ Mirabella
- 9E6060
≈ Pizza Pie
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 30
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--elf: #3b836c;
--elf-rgb: 59 131 108;
--elf-oklch: oklch(0.557 0.081 169.8);
}
.element {
color: var(--elf);
background-color: hsl(161 38% 37%);
border-color: oklch(0.557 0.081 169.8);
}Tailwind CSS v4
@theme {
--color-elf: #3b836c;
--color-elf-50: #dffdf2;
--color-elf-100: #cef1e5;
--color-elf-200: #b2e0d0;
--color-elf-300: #8dc5b2;
--color-elf-400: #6bae97;
--color-elf-500: #47987e;
--color-elf-600: #3d806a;
--color-elf-700: #316755;
--color-elf-800: #234b3d;
--color-elf-900: #17342a;
--color-elf-950: #082017;
}SCSS
$elf: #3b836c;
$elf-rgb: 59, 131, 108;
$elf-light: mix(#fff, $elf, 20%);
$elf-dark: mix(#000, $elf, 20%);
.element {
color: $elf;
box-shadow: 0 0 0 2px rgba($elf, 0.35);
}