Nearest named color · #7FAA36
#7FAA36
Nearest named color: Leaf
#7FAA36 (rgb(127 170 54), hsl(82 52% 44%), oklch(0.684 0.151 127.5)) is closest to the named color Leaf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#7FAA36
oklch(0.684 0.151 127.5)
Color conversions
- HEX
- #7faa36
- RGB
- rgb(127 170 54)
- HSL
- hsl(82 52% 44%)
- HWB
- hwb(82 21% 33%)
- OKLCH
- oklch(0.684 0.151 127.5)
- OKLab
- oklab(0.684 -0.092 0.12)
- CIE Lab
- lab(64.77 -28.22 52.09)
- LCH
- lch(64.77 59.25 118.4)
- CMYK
- cmyk(25% 0% 68% 33%)
Tints · Shades · Tones
Tints
- 8BB34F
- 98BB65
- A4C479
- B1CC8D
- BDD5A0
- CADDB3
- D7E6C6
- E4EED9
- F2F7EC
Shades
- 6E932E
- 5D7D25
- 4C681E
- 3C5316
- 2D3F0F
- 1F2D08
- 111B03
- 060B01
- 010100
Tones
- 7FA642
- 7FA24C
- 809E55
- 809A5C
- 809663
- 80916A
- 808D70
- 808976
- 80847B
Color harmonies
Complementary +180°
- 7FAA36
Leaf
- B37DE1
≈ Lavender Blossom
Analogous -30° +30°
- 7FAA36
Leaf
- B29900
≈ Sunken Gold
- 26B574
≈ Green Teal
Triadic +120° +240°
- 7FAA36
Leaf
- 3D9FF1
≈ Rockman Blue
- E56D88
≈ Deep Blush
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.72:1 · APCA Lc 53
Ag
AAAOn black
WCAG 7.70:1 · APCA Lc 49
Best text color: #000000
WCAG 7.70:1 (AAA) · APCA Lc 49
Contrast pairs
Code snippets
CSS
:root {
--leaf: #7faa36;
--leaf-rgb: 127 170 54;
--leaf-oklch: oklch(0.684 0.151 127.5);
}
.element {
color: var(--leaf);
background-color: hsl(82 52% 44%);
border-color: oklch(0.684 0.151 127.5);
}Tailwind CSS v4
@theme {
--color-leaf: #7faa36;
--color-leaf-50: #e7fed1;
--color-leaf-100: #d8f3bd;
--color-leaf-200: #c0e29d;
--color-leaf-300: #9ec772;
--color-leaf-400: #85ae43;
--color-leaf-500: #6a9700;
--color-leaf-600: #5a8000;
--color-leaf-700: #476603;
--color-leaf-800: #364b00;
--color-leaf-900: #253400;
--color-leaf-950: #131f00;
}SCSS
$leaf: #7faa36;
$leaf-rgb: 127, 170, 54;
$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);
}