Nearest named color · #298817
#298817
Nearest named color: Green Bell Pepper
#298817 (rgb(41 136 23), hsl(110 71% 31%), oklch(0.55 0.169 141)) is closest to the named color Green Bell Pepper. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#298817
oklch(0.55 0.169 141)
Color conversions
- HEX
- #298817
- RGB
- rgb(41 136 23)
- HSL
- hsl(110 71% 31%)
- HWB
- hwb(110 9% 47%)
- OKLCH
- oklch(0.55 0.169 141)
- OKLab
- oklab(0.55 -0.131 0.106)
- CIE Lab
- lab(49.73 -44.02 46.83)
- LCH
- lch(49.73 64.27 133.2)
- CMYK
- cmyk(70% 0% 83% 47%)
Tints · Shades · Tones
Tints
- 439437
- 5AA04F
- 6FAC66
- 84B87B
- 98C491
- ADD0A7
- C1DCBD
- D6E7D2
- EAF3E9
Shades
- 227512
- 1C630E
- 15520A
- 0F4106
- 093104
- 052202
- 021301
- 010600
- 000100
Tones
- 378829
- 428737
- 4C8742
- 54864C
- 5D8556
- 64855F
- 6C8467
- 738370
- 798178
Color harmonies
Complementary +180°
- 298817
Green Bell Pepper
- 9C49AC
≈ Purpureus
Analogous -30° +30°
- 298817
Green Bell Pepper
- 757700
≈ Mongolian Plateau
- 008569
≈ Bosphorus
Triadic +120° +240°
- 298817
Green Bell Pepper
- 336CD2
≈ Enchanting Sapphire
- C03B44
≈ Poppy
Split-complementary +150° +210°
- 298817
Green Bell Pepper
- 7559CB
≈ Astro Purple
- B63D7E
≈ Fuchsia Red
Tetradic +90° +180° +270°
- 298817
Green Bell Pepper
- 007CA6
≈ Celadon Blue
- 9C49AC
≈ Purpureus
- B15300
≈ Mahogany Finish
Contrast & accessibility
Ag
AAOn white
WCAG 4.53:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.62:1 · APCA Lc 31
Best text color: #000000
WCAG 4.62:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--green-bell-pepper: #298817;
--green-bell-pepper-rgb: 41 136 23;
--green-bell-pepper-oklch: oklch(0.55 0.169 141);
}
.element {
color: var(--green-bell-pepper);
background-color: hsl(110 71% 31%);
border-color: oklch(0.55 0.169 141);
}Tailwind CSS v4
@theme {
--color-green-bell-pepper: #298817;
--color-green-bell-pepper-50: #daffd6;
--color-green-bell-pepper-100: #c7f7c4;
--color-green-bell-pepper-200: #a9e7a5;
--color-green-bell-pepper-300: #81cd7d;
--color-green-bell-pepper-400: #60b652;
--color-green-bell-pepper-500: #35a022;
--color-green-bell-pepper-600: #2f8720;
--color-green-bell-pepper-700: #266c1a;
--color-green-bell-pepper-800: #1e4f0c;
--color-green-bell-pepper-900: #143707;
--color-green-bell-pepper-950: #052200;
}SCSS
$green-bell-pepper: #298817;
$green-bell-pepper-rgb: 41, 136, 23;
$green-bell-pepper-light: mix(#fff, $green-bell-pepper, 20%);
$green-bell-pepper-dark: mix(#000, $green-bell-pepper, 20%);
.element {
color: $green-bell-pepper;
box-shadow: 0 0 0 2px rgba($green-bell-pepper, 0.35);
}