Nearest named color · #008E71
#008E71
Nearest named color: Elf
#008E71 (rgb(0 142 113), hsl(168 100% 28%), oklch(0.576 0.112 171.7)) is closest to the named color Elf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#008E71
oklch(0.576 0.112 171.7)
Color conversions
- HEX
- #008e71
- RGB
- rgb(0 142 113)
- HSL
- hsl(168 100% 28%)
- HWB
- hwb(168 0% 44%)
- OKLCH
- oklch(0.576 0.112 171.7)
- OKLab
- oklab(0.576 -0.111 0.016)
- CIE Lab
- lab(52.28 -39.37 5.91)
- LCH
- lch(52.28 39.81 171.5)
- CMYK
- cmyk(100% 0% 20% 44%)
Tints · Shades · Tones
Tints
- 36997E
- 52A48C
- 6AB099
- 80BBA7
- 96C6B5
- ABD1C4
- C0DDD2
- D5E8E1
- EAF4F0
Shades
- 007B61
- 006852
- 005643
- 004435
- 003427
- 00241A
- 00150E
- 000704
- 000101
Tones
- 268D73
- 378C74
- 458A76
- 508977
- 598879
- 62867A
- 6A857C
- 72837D
- 79827F
Color harmonies
Complementary +180°
- 008E71
Elf
- AA5B80
≈ Guppy Violet
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 4.11:1 · APCA Lc 68
Ag
AAOn black
WCAG 5.10:1 · APCA Lc 34
Best text color: #000000
WCAG 5.10:1 (AA) · APCA Lc 34
Contrast pairs
Code snippets
CSS
:root {
--elf: #008e71;
--elf-rgb: 0 142 113;
--elf-oklch: oklch(0.576 0.112 171.7);
}
.element {
color: var(--elf);
background-color: hsl(168 100% 28%);
border-color: oklch(0.576 0.112 171.7);
}Tailwind CSS v4
@theme {
--color-elf: #008e71;
--color-elf-50: #d5fff2;
--color-elf-100: #c2f5e5;
--color-elf-200: #a2e4d0;
--color-elf-300: #76cab3;
--color-elf-400: #4cb496;
--color-elf-500: #009d7d;
--color-elf-600: #03856a;
--color-elf-700: #066b55;
--color-elf-800: #064f3c;
--color-elf-900: #053729;
--color-elf-950: #002117;
}SCSS
$elf: #008e71;
$elf-rgb: 0, 142, 113;
$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);
}