Nearest named color · #1F8666
#1F8666
Nearest named color: Elf
#1F8666 (rgb(31 134 102), hsl(161 62% 32%), oklch(0.555 0.104 167)) is closest to the named color Elf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1F8666
oklch(0.555 0.104 167)
Color conversions
- HEX
- #1f8666
- RGB
- rgb(31 134 102)
- HSL
- hsl(161 62% 32%)
- HWB
- hwb(161 12% 47%)
- OKLCH
- oklch(0.555 0.104 167)
- OKLab
- oklab(0.555 -0.101 0.023)
- CIE Lab
- lab(49.74 -35.96 8.69)
- LCH
- lch(49.74 37 166.4)
- CMYK
- cmyk(77% 0% 24% 47%)
Tints · Shades · Tones
Tints
- 3F9274
- 579E83
- 6DAA91
- 82B6A0
- 97C2B0
- ACCEBF
- C1DACF
- D5E6DF
- EAF3EF
Shades
- 197458
- 14624A
- 0F513C
- 0A402F
- 063023
- 032117
- 01130C
- 000604
- 000100
Tones
- 318669
- 3E856B
- 49856E
- 528470
- 5B8473
- 638376
- 6B8278
- 72827B
- 79817D
Color harmonies
Complementary +180°
- 1F8666
Elf
- 9E587F
≈ Feminism
Analogous -30° +30°
Triadic +120° +240°
- 1F8666
Elf
- 6F69AD
≈ Mediaeval
- A45E3A
≈ Desert Soil
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 31
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--elf: #1f8666;
--elf-rgb: 31 134 102;
--elf-oklch: oklch(0.555 0.104 167);
}
.element {
color: var(--elf);
background-color: hsl(161 62% 32%);
border-color: oklch(0.555 0.104 167);
}Tailwind CSS v4
@theme {
--color-elf: #1f8666;
--color-elf-50: #d9fff0;
--color-elf-100: #c7f4e2;
--color-elf-200: #a8e3cd;
--color-elf-300: #80c9ae;
--color-elf-400: #5ab291;
--color-elf-500: #299c78;
--color-elf-600: #268465;
--color-elf-700: #1f6a51;
--color-elf-800: #164e39;
--color-elf-900: #0e3627;
--color-elf-950: #012115;
}SCSS
$elf: #1f8666;
$elf-rgb: 31, 134, 102;
$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);
}