Nearest named color · #318817
#318817
Nearest named color: Green Bell Pepper
#318817 (rgb(49 136 23), hsl(106 71% 31%), oklch(0.553 0.166 139.9)) is closest to the named color Green Bell Pepper. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#318817
oklch(0.553 0.166 139.9)
Color conversions
- HEX
- #318817
- RGB
- rgb(49 136 23)
- HSL
- hsl(106 71% 31%)
- HWB
- hwb(106 9% 47%)
- OKLCH
- oklch(0.553 0.166 139.9)
- OKLab
- oklab(0.553 -0.127 0.107)
- CIE Lab
- lab(49.96 -42.23 47.14)
- LCH
- lch(49.96 63.29 131.9)
- CMYK
- cmyk(64% 0% 83% 47%)
Tints · Shades · Tones
Tints
- 499437
- 5EA04F
- 73AC66
- 87B87C
- 9AC491
- AED0A7
- C2DBBD
- D6E7D3
- EBF3E9
Shades
- 297512
- 22630E
- 1A520A
- 134106
- 0C3104
- 062202
- 031301
- 010600
- 000100
Tones
- 3C882A
- 468737
- 4F8742
- 57864C
- 5F8556
- 66855F
- 6D8468
- 738370
- 7A8178
Color harmonies
Complementary +180°
- 318817
Green Bell Pepper
- 9B4BAD
≈ Purpureus
Analogous -30° +30°
- 318817
Green Bell Pepper
- 777800
≈ Mongolian Plateau
- 008668
≈ Spectral Green
Triadic +120° +240°
- 318817
Green Bell Pepper
- 326ED1
≈ Enchanting Sapphire
- C03E48
≈ Poppy
Split-complementary +150° +210°
- 318817
Green Bell Pepper
- 745BCB
≈ Astro Purple
- B53F80
≈ Fuchsia Red
Tetradic +90° +180° +270°
- 318817
Green Bell Pepper
- 007DA6
≈ Celadon Blue
- 9B4BAD
≈ Purpureus
- B35200
≈ Skrag Brown
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 31
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--green-bell-pepper: #318817;
--green-bell-pepper-rgb: 49 136 23;
--green-bell-pepper-oklch: oklch(0.553 0.166 139.9);
}
.element {
color: var(--green-bell-pepper);
background-color: hsl(106 71% 31%);
border-color: oklch(0.553 0.166 139.9);
}Tailwind CSS v4
@theme {
--color-green-bell-pepper: #318817;
--color-green-bell-pepper-50: #dbffd6;
--color-green-bell-pepper-100: #c9f7c3;
--color-green-bell-pepper-200: #ace7a5;
--color-green-bell-pepper-300: #84cd7c;
--color-green-bell-pepper-400: #64b552;
--color-green-bell-pepper-500: #3d9f21;
--color-green-bell-pepper-600: #35861f;
--color-green-bell-pepper-700: #2a6c19;
--color-green-bell-pepper-800: #214f0b;
--color-green-bell-pepper-900: #163707;
--color-green-bell-pepper-950: #072100;
}SCSS
$green-bell-pepper: #318817;
$green-bell-pepper-rgb: 49, 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);
}