Nearest named color · #3B836B
#3B836B
Nearest named color: Elf
#3B836B (rgb(59 131 107), hsl(160 38% 37%), oklch(0.557 0.082 168.9)) is closest to the named color Elf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#3B836B
oklch(0.557 0.082 168.9)
Color conversions
- HEX
- #3b836b
- RGB
- rgb(59 131 107)
- HSL
- hsl(160 38% 37%)
- HWB
- hwb(160 23% 49%)
- OKLCH
- oklch(0.557 0.082 168.9)
- OKLab
- oklab(0.557 -0.081 0.016)
- CIE Lab
- lab(49.66 -28.28 5.84)
- LCH
- lch(49.66 28.87 168.3)
- CMYK
- cmyk(55% 0% 18% 49%)
Tints · Shades · Tones
Tints
- 508F79
- 649B87
- 78A795
- 8BB3A3
- 9EC0B2
- B1CCC1
- C4D9D0
- D8E5E0
- EBF2EF
Shades
- 32715C
- 29604E
- 214F3F
- 193F32
- 112F25
- 092018
- 04120D
- 010604
- 000100
Tones
- 44836D
- 4D836F
- 548371
- 5B8273
- 628275
- 698278
- 6F817A
- 75817C
- 7A807E
Color harmonies
Complementary +180°
- 3B836B
Elf
- 985F7B
≈ Rose Wine
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
- 3B836B
Elf
- 886492
≈ Mirabella
- 9E5F60
≈ Pizza Pie
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.52: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: #3b836b;
--elf-rgb: 59 131 107;
--elf-oklch: oklch(0.557 0.082 168.9);
}
.element {
color: var(--elf);
background-color: hsl(160 38% 37%);
border-color: oklch(0.557 0.082 168.9);
}Tailwind CSS v4
@theme {
--color-elf: #3b836b;
--color-elf-50: #dffdf2;
--color-elf-100: #cef1e4;
--color-elf-200: #b2e0cf;
--color-elf-300: #8dc6b2;
--color-elf-400: #6bae96;
--color-elf-500: #47987d;
--color-elf-600: #3d806a;
--color-elf-700: #316754;
--color-elf-800: #234b3c;
--color-elf-900: #173429;
--color-elf-950: #082017;
}SCSS
$elf: #3b836b;
$elf-rgb: 59, 131, 107;
$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);
}