Nearest named color · #70AB28
#70AB28
Nearest named color: Leaf
#70AB28 (rgb(112 171 40), hsl(87 62% 41%), oklch(0.676 0.169 131.3)) is closest to the named color Leaf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#70AB28
oklch(0.676 0.169 131.3)
Color conversions
- HEX
- #70ab28
- RGB
- rgb(112 171 40)
- HSL
- hsl(87 62% 41%)
- HWB
- hwb(87 16% 33%)
- OKLCH
- oklch(0.676 0.169 131.3)
- OKLab
- oklab(0.676 -0.111 0.127)
- CIE Lab
- lab(64.1 -34.95 56.07)
- LCH
- lch(64.1 66.07 121.9)
- CMYK
- cmyk(35% 0% 77% 33%)
Tints · Shades · Tones
Tints
- 7EB446
- 8CBC5E
- 9AC574
- A8CD88
- B6D69C
- C5DEB0
- D3E6C4
- E2EFD8
- F0F7EB
Shades
- 609421
- 517E1B
- 436815
- 35540F
- 274009
- 1A2D04
- 0E1B02
- 040B01
- 010100
Tones
- 72A738
- 74A345
- 769F4F
- 789B58
- 799660
- 7B9267
- 7C8E6E
- 7D8974
- 7F857A
Color harmonies
Complementary +180°
- 70AB28
Leaf
- B875E2
≈ Lavender
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 53
Ag
AAAOn black
WCAG 7.54:1 · APCA Lc 48
Best text color: #000000
WCAG 7.54:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--leaf: #70ab28;
--leaf-rgb: 112 171 40;
--leaf-oklch: oklch(0.676 0.169 131.3);
}
.element {
color: var(--leaf);
background-color: hsl(87 62% 41%);
border-color: oklch(0.676 0.169 131.3);
}Tailwind CSS v4
@theme {
--color-leaf: #70ab28;
--color-leaf-50: #e2ffcf;
--color-leaf-100: #d2f5bb;
--color-leaf-200: #b8e499;
--color-leaf-300: #94ca6d;
--color-leaf-400: #79b23b;
--color-leaf-500: #5b9b00;
--color-leaf-600: #4e8300;
--color-leaf-700: #3e6900;
--color-leaf-800: #2f4d00;
--color-leaf-900: #203500;
--color-leaf-950: #0f2000;
}SCSS
$leaf: #70ab28;
$leaf-rgb: 112, 171, 40;
$leaf-light: mix(#fff, $leaf, 20%);
$leaf-dark: mix(#000, $leaf, 20%);
.element {
color: $leaf;
box-shadow: 0 0 0 2px rgba($leaf, 0.35);
}