Nearest named color · #508252
#508252
Nearest named color: Beanpole
#508252 (rgb(80 130 82), hsl(122 24% 41%), oklch(0.558 0.091 145.1)) is closest to the named color Beanpole. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#508252
oklch(0.558 0.091 145.1)
Color conversions
- HEX
- #508252
- RGB
- rgb(80 130 82)
- HSL
- hsl(122 24% 41%)
- HWB
- hwb(122 31% 49%)
- OKLCH
- oklch(0.558 0.091 145.1)
- OKLab
- oklab(0.558 -0.075 0.052)
- CIE Lab
- lab(49.86 -25.51 20.52)
- LCH
- lch(49.86 32.74 141.2)
- CMYK
- cmyk(38% 0% 37% 49%)
Tints · Shades · Tones
Tints
- 618E62
- 729A73
- 83A684
- 94B394
- A6BFA6
- B7CCB7
- C9D8C9
- DBE5DB
- EDF2ED
Shades
- 447046
- 395F3B
- 2E4E2F
- 243E25
- 1A2F1A
- 102011
- 071208
- 020602
- 000100
Tones
- 558257
- 5B825C
- 608260
- 658265
- 6A826A
- 6E816E
- 738173
- 778177
- 7C807C
Color harmonies
Complementary +180°
- 508252
Beanpole
- 8F6191
≈ Hashita Purple
Analogous -30° +30°
- 508252
Beanpole
- 727A37
≈ Hot Dog Relish
- 298571
≈ Dream Green
Triadic +120° +240°
- 508252
Beanpole
- 5A72AA
≈ Dormitory
- A35E58
≈ Savannah Red
Split-complementary +150° +210°
- 508252
Beanpole
- 7869A4
≈ Reign Over Me
- 9E5C76
≈ Rose Wine
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 30
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--beanpole: #508252;
--beanpole-rgb: 80 130 82;
--beanpole-oklch: oklch(0.558 0.091 145.1);
}
.element {
color: var(--beanpole);
background-color: hsl(122 24% 41%);
border-color: oklch(0.558 0.091 145.1);
}Tailwind CSS v4
@theme {
--color-beanpole: #508252;
--color-beanpole-50: #e5fde6;
--color-beanpole-100: #d5f1d7;
--color-beanpole-200: #bbdfbe;
--color-beanpole-300: #99c59d;
--color-beanpole-400: #7cad7d;
--color-beanpole-500: #5e9660;
--color-beanpole-600: #507f52;
--color-beanpole-700: #406641;
--color-beanpole-800: #2f4a2d;
--color-beanpole-900: #20341f;
--color-beanpole-950: #0f1f0e;
}SCSS
$beanpole: #508252;
$beanpole-rgb: 80, 130, 82;
$beanpole-light: mix(#fff, $beanpole, 20%);
$beanpole-dark: mix(#000, $beanpole, 20%);
.element {
color: $beanpole;
box-shadow: 0 0 0 2px rgba($beanpole, 0.35);
}