Nearest named color · #7EA73C
#7EA73C
Nearest named color: Leaf
#7EA73C (rgb(126 167 60), hsl(83 47% 45%), oklch(0.676 0.143 127.7)) is closest to the named color Leaf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#7EA73C
oklch(0.676 0.143 127.7)
Color conversions
- HEX
- #7ea73c
- RGB
- rgb(126 167 60)
- HSL
- hsl(83 47% 45%)
- HWB
- hwb(83 24% 35%)
- OKLCH
- oklch(0.676 0.143 127.7)
- OKLab
- oklab(0.676 -0.087 0.113)
- CIE Lab
- lab(63.85 -26.95 48.68)
- LCH
- lch(63.85 55.65 119)
- CMYK
- cmyk(25% 0% 64% 35%)
Tints · Shades · Tones
Tints
- 8AB053
- 97B968
- A3C27C
- B0CB8F
- BDD3A1
- CADCB4
- D7E5C7
- E4EED9
- F1F6EC
Shades
- 6D9133
- 5C7B2A
- 4C6621
- 3C5219
- 2D3E11
- 1F2C0A
- 111A04
- 050A01
- 010100
Tones
- 7EA346
- 7FA04F
- 7F9C57
- 7F985E
- 7F9465
- 7F906B
- 808C71
- 808876
- 80847B
Color harmonies
Complementary +180°
- 7EA73C
Leaf
- AF7DDB
≈ Lavender Blossom
Analogous -30° +30°
- 7EA73C
Leaf
- AF9700
≈ Sunken Gold
- 30B174
≈ Salsify Grass
Triadic +120° +240°
Split-complementary +150° +210°
- 7EA73C
Leaf
- 838CEE
≈ Perrywinkle
- CE72B6
≈ Sky Magenta
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.47:1 · APCA Lc 48
Best text color: #000000
WCAG 7.47:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--leaf: #7ea73c;
--leaf-rgb: 126 167 60;
--leaf-oklch: oklch(0.676 0.143 127.7);
}
.element {
color: var(--leaf);
background-color: hsl(83 47% 45%);
border-color: oklch(0.676 0.143 127.7);
}Tailwind CSS v4
@theme {
--color-leaf: #7ea73c;
--color-leaf-50: #e8fed3;
--color-leaf-100: #d9f2c0;
--color-leaf-200: #c1e1a0;
--color-leaf-300: #a0c676;
--color-leaf-400: #86ae4a;
--color-leaf-500: #6b970e;
--color-leaf-600: #5b7f13;
--color-leaf-700: #486610;
--color-leaf-800: #364a05;
--color-leaf-900: #253404;
--color-leaf-950: #141f00;
}SCSS
$leaf: #7ea73c;
$leaf-rgb: 126, 167, 60;
$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);
}