Nearest named color · #6BAB27
#6BAB27
Nearest named color: Leaf
#6BAB27 (rgb(107 171 39), hsl(89 63% 41%), oklch(0.673 0.172 132.5)) is closest to the named color Leaf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#6BAB27
oklch(0.673 0.172 132.5)
Color conversions
- HEX
- #6bab27
- RGB
- rgb(107 171 39)
- HSL
- hsl(89 63% 41%)
- HWB
- hwb(89 15% 33%)
- OKLCH
- oklch(0.673 0.172 132.5)
- OKLab
- oklab(0.673 -0.116 0.127)
- CIE Lab
- lab(63.83 -36.78 56.02)
- LCH
- lch(63.83 67.01 123.3)
- CMYK
- cmyk(37% 0% 77% 33%)
Tints · Shades · Tones
Tints
- 7AB445
- 88BC5D
- 97C573
- A6CD88
- B4D69C
- C3DEB0
- D2E7C4
- E1EFD7
- F0F7EB
Shades
- 5C9420
- 4E7E1A
- 3F6814
- 32540E
- 254008
- 182D04
- 0D1B02
- 040B01
- 000100
Tones
- 6EA738
- 70A344
- 739F4E
- 759B57
- 77965F
- 799267
- 7B8E6E
- 7D8974
- 7E857A
Color harmonies
Complementary +180°
- 6BAB27
Leaf
- BA72E1
≈ Lavender
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
- 6BAB27
Leaf
- 8984FB
≈ Periwinkle
- DB65B2
≈ Mega 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: #6bab27;
--leaf-rgb: 107 171 39;
--leaf-oklch: oklch(0.673 0.172 132.5);
}
.element {
color: var(--leaf);
background-color: hsl(89 63% 41%);
border-color: oklch(0.673 0.172 132.5);
}Tailwind CSS v4
@theme {
--color-leaf: #6bab27;
--color-leaf-50: #e1ffcf;
--color-leaf-100: #d0f5bb;
--color-leaf-200: #b5e59a;
--color-leaf-300: #91cb6e;
--color-leaf-400: #76b33b;
--color-leaf-500: #569c00;
--color-leaf-600: #498400;
--color-leaf-700: #3a6a00;
--color-leaf-800: #2d4d00;
--color-leaf-900: #1e3600;
--color-leaf-950: #0e2100;
}SCSS
$leaf: #6bab27;
$leaf-rgb: 107, 171, 39;
$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);
}