Nearest named color · #2F8818
#2F8818
Nearest named color: Green Bell Pepper
#2F8818 (rgb(47 136 24), hsl(108 70% 31%), oklch(0.552 0.166 140.3)) is closest to the named color Green Bell Pepper. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2F8818
oklch(0.552 0.166 140.3)
Color conversions
- HEX
- #2f8818
- RGB
- rgb(47 136 24)
- HSL
- hsl(108 70% 31%)
- HWB
- hwb(108 9% 47%)
- OKLCH
- oklch(0.552 0.166 140.3)
- OKLab
- oklab(0.552 -0.128 0.106)
- CIE Lab
- lab(49.9 -42.66 46.77)
- LCH
- lch(49.9 63.3 132.4)
- CMYK
- cmyk(65% 0% 82% 47%)
Tints · Shades · Tones
Tints
- 479437
- 5DA04F
- 72AC66
- 86B87C
- 9AC491
- AED0A7
- C2DBBD
- D6E7D3
- EAF3E9
Shades
- 277513
- 20630F
- 19520A
- 124107
- 0C3104
- 062202
- 031301
- 010600
- 000100
Tones
- 3B882A
- 458737
- 4E8743
- 56864D
- 5E8556
- 65855F
- 6C8468
- 738370
- 7A8178
Color harmonies
Complementary +180°
- 2F8818
Green Bell Pepper
- 9C4BAD
≈ Purpureus
Analogous -30° +30°
- 2F8818
Green Bell Pepper
- 777800
≈ Mongolian Plateau
- 008669
≈ Bosphorus
Triadic +120° +240°
- 2F8818
Green Bell Pepper
- 336ED1
≈ Enchanting Sapphire
- C03D47
≈ Poppy
Split-complementary +150° +210°
- 2F8818
Green Bell Pepper
- 745BCA
≈ Astro Purple
- B53F7F
≈ Fuchsia Red
Tetradic +90° +180° +270°
- 2F8818
Green Bell Pepper
- 007DA6
≈ Celadon Blue
- 9C4BAD
≈ Purpureus
- B25300
≈ Skrag Brown
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--green-bell-pepper: #2f8818;
--green-bell-pepper-rgb: 47 136 24;
--green-bell-pepper-oklch: oklch(0.552 0.166 140.3);
}
.element {
color: var(--green-bell-pepper);
background-color: hsl(108 70% 31%);
border-color: oklch(0.552 0.166 140.3);
}Tailwind CSS v4
@theme {
--color-green-bell-pepper: #2f8818;
--color-green-bell-pepper-50: #dbffd6;
--color-green-bell-pepper-100: #c9f7c4;
--color-green-bell-pepper-200: #abe7a5;
--color-green-bell-pepper-300: #84cd7d;
--color-green-bell-pepper-400: #63b652;
--color-green-bell-pepper-500: #3b9f23;
--color-green-bell-pepper-600: #348620;
--color-green-bell-pepper-700: #296c1a;
--color-green-bell-pepper-800: #204f0c;
--color-green-bell-pepper-900: #153707;
--color-green-bell-pepper-950: #062200;
}SCSS
$green-bell-pepper: #2f8818;
$green-bell-pepper-rgb: 47, 136, 24;
$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);
}